@Test
public void testGetSingleton() {

    Optional<Singleton> optional = admin.get(Singleton.class);
    assertFalse(optional.isPresent());
    Singleton s = new Singleton();
    Bean bs = toBean(s);
    admin.create(bs);
    Optional<Bean> bean = admin.get(s.getBeanId());
    assertTrue(bean.isPresent());
    assertReflectionEquals(bs, bean.get(), LENIENT_ORDER);
}