use of com.tvd12.ezyhttp.core.codec.BodyDeserializer in project ezyhttp by youngmonkeys.
the class DataConvertersTest method getBodyDeserializerWithUTF8Test.
@Test
public void getBodyDeserializerWithUTF8Test() {
// given
DataConverters sut = new DataConverters(new ObjectMapper());
String contentType = ContentTypes.TEXT_HTML_UTF8;
// when
BodyDeserializer actual = sut.getBodyDeserializer(contentType);
// then
Asserts.assertEquals(TextBodyConverter.class, actual.getClass());
}
Aggregations