assertNull(context.getObjectStore().getCachedSnapshot(obj.getObjectId()));
}
public void testFullObjectFromDataRow() {
DataContext context = createDataContext();
DataRow row = new DataRow(10);
row.put("ARTIST_ID", new Integer(123456));
row.put("ARTIST_NAME", "ArtistXYZ");
row.put("DATE_OF_BIRTH", new Date());
Artist obj = context.objectFromDataRow(Artist.class, row);
assertTrue(context.getGraphManager().registeredNodes().contains(obj));
assertEquals(PersistenceState.COMMITTED, obj.getPersistenceState());
assertNotNull(context.getObjectStore().getCachedSnapshot(obj.getObjectId()));