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