@Test
public void testGetObject() {

    Optional<Grandfather> optional = admin.get(Grandfather.class, "g1");
    assertFalse(optional.isPresent());
    admin.createObject(g1);
    optional = admin.get(Grandfather.class, "g1");
    assertTrue(optional.isPresent());
    assertReflectionEquals(toBean(g1), toBean(optional.get()), LENIENT_ORDER);
}