assertEquals(LongAutoID_EINSTEIN, res.get(2).discoverer);
assertEquals(LongAutoID_TESLA, res.get(3).discoverer);
}
public void testJoinSortFields() {
Discovery radioactivity = new Discovery("Radioactivity", LongAutoID_CURIE);
Discovery relativity = new Discovery("Relativity", LongAutoID_EINSTEIN);
Discovery foo = new Discovery("Foo", LongAutoID_EINSTEIN);
Discovery teslaCoil = new Discovery("Tesla Coil", LongAutoID_TESLA);
pm.insert(radioactivity);
pm.insert(relativity);
pm.insert(foo);
pm.insert(teslaCoil);