Assert.assertEquals(act.getSomething(), entity.getSomething());
}
@Test
public void testLocalDateTimeKey() {
EntityWithDateTimeKey k = new EntityWithDateTimeKey();
k.setId(new LocalDateTime());
k.setSomething("qwer");
mgr.put(k);
mgr.flush();
NoSqlEntityManager mgr2 = factory.createEntityManager();
EntityWithDateTimeKey entity = mgr2.find(EntityWithDateTimeKey.class, k.getId());
Assert.assertEquals(k.getSomething(), entity.getSomething());
}