@Test
public void addClassToId() {

    resolver.addClassToId(ClassAliasIdResolverTest.class, "cairt");
    String id = resolver.idFromValue(new ClassAliasIdResolverTest());
    assertNotNull(id);
    assertEquals("cairt", id);
    id = resolver.idFromValue(new Object());
    assertEquals(Object.class.getName(), id);
}