assertEquals(LongAutoID_CURIE, res.get(2).discoverer);
assertEquals(LongAutoID_TESLA, res.get(3).discoverer);
}
public void testJoinAnnotation() {
Discovery4Join radioactivity = new Discovery4Join("Radioactivity", LongAutoID_CURIE, LongAutoID_TESLA);
Discovery4Join relativity = new Discovery4Join("Relativity", LongAutoID_EINSTEIN, LongAutoID_TESLA);
Discovery4Join foo = new Discovery4Join("Foo", LongAutoID_EINSTEIN, LongAutoID_EINSTEIN);
Discovery4Join teslaCoil = new Discovery4Join("Tesla Coil", LongAutoID_TESLA, LongAutoID_CURIE);
pm.insert(radioactivity, relativity, foo, teslaCoil).get();
SienaFuture<List<Discovery4Join>> future = pm.createQuery(Discovery4Join.class).fetch();
List<Discovery4Join> res = future.get();