ParameterBindingException pbe = assertIsInstanceOf(ParameterBindingException.class, e.getCause());
assertEquals(1, pbe.getIndex());
assertTrue(pbe.getMethod().getName().contains("hello"));
assertEquals(555, pbe.getParameterValue());
NoTypeConversionAvailableException ntae = assertIsInstanceOf(NoTypeConversionAvailableException.class, e.getCause().getCause());
assertEquals(Integer.class, ntae.getFromType());
assertEquals(Document.class, ntae.getToType());
assertEquals(555, ntae.getValue());
assertNotNull(ntae.getMessage());
}
assertMockEndpointsSatisfied();
}