@Test
public void testGetCharset() {

	Assert.assertEquals("UTF-8", new TestProvider().getCharset(MediaType.APPLICATION_JSON_TYPE));
	Map<String, String> parameters = new HashMap<String, String>();		
	parameters.put("charset", "ASCII");
	MediaType customMediaType = new MediaType("application", "json", parameters);
	Assert.assertEquals("ASCII", new TestProvider().getCharset(customMediaType));
}