@Test public void testFoo() throws Exception { Foo foo = repository.query(new Foo()).single(); repository.update(foo); assertEquals(1, repository.query(new Foo()).count()); assertEquals(0, repository.query(new Bar()).count()); }
public Update(Repository repository) { super(repository); }
Update extends Operation { public Update(Repository repository) { super(repository); } }
Update extends Operation { public Update(Repository repository) { super(repository); } Update(Repository repository); }
Update extends Operation { public Update(Repository repository) { super(repository); } Update(Repository repository); void now(Propoid propoid); }
Update extends Operation { public Update(Repository repository) { super(repository); } Update(Repository repository); void now(Propoid propoid);  }