Lookup extends Operation { public Lookup(Repository repository) { super(repository); } Lookup(Repository repository); Propoid now(Reference<?> reference); List<Propoid> now(References<Propoid> references);  }
@Test public void testFoo() { Foo foo = repository.query(new Foo()).list().get(0); Reference<Foo> reference = new Reference<Foo>(foo); assertEquals(Row.getID(foo), Row.getID(repository.lookup(reference))); }
@Test public void testFooEx() { FooEx fooEx = repository.query(new FooEx()).list().get(0); Reference<Foo> reference = new Reference<Foo>(fooEx); assertEquals(Row.getID(fooEx), Row.getID(repository.lookup(reference))); }