use of com.tvd12.ezyhttp.core.exception.DeserializeCookieException in project ezyhttp by youngmonkeys.
the class DeserializeCookieExceptionTest method test.
@Test
public void test() {
// given
Exception e = new Exception("just test");
// when
DeserializeCookieException sut = new DeserializeCookieException("hello", "world", Map.class, e);
// then
Asserts.assertEquals("hello", sut.getValueName());
Asserts.assertEquals("world", sut.getValue());
Asserts.assertEquals(Map.class, sut.getOutType());
Asserts.assertEquals(e, sut.getCause());
}
Aggregations