@Test
public void testCreation() {

  AdaptException exception = new AdaptException(Object.class, String.class);
  assertNotNull(exception.from);
  assertNotNull(exception.to);
  logger.debug(exception.getLocalizedMessage());
}