assertTrue(res.get(2).discovererNotJoined.isOnlyIdFilled());
assertTrue(res.get(3).discovererNotJoined.isOnlyIdFilled());
}
public void testFetchPrivateFields() {
DiscoveryPrivate radioactivity = new DiscoveryPrivate(1L, "Radioactivity", LongAutoID_CURIE);
DiscoveryPrivate relativity = new DiscoveryPrivate(2L, "Relativity", LongAutoID_EINSTEIN);
DiscoveryPrivate foo = new DiscoveryPrivate(3L, "Foo", LongAutoID_EINSTEIN);
DiscoveryPrivate teslaCoil = new DiscoveryPrivate(4L, "Tesla Coil", LongAutoID_TESLA);
pm.insert(radioactivity, relativity, foo, teslaCoil).get();
SienaFuture<List<DiscoveryPrivate>> future = pm.createQuery(DiscoveryPrivate.class).order("name").fetch();
List<DiscoveryPrivate> res = future.get();