use of com.tvd12.ezyhttp.core.exception.DeserializePathVariableException in project ezyhttp by youngmonkeys.
the class DeserializePathVariableExceptionTest method test.
@Test
public void test() {
// given
Exception e = new Exception("just test");
// when
DeserializePathVariableException sut = new DeserializePathVariableException("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