@Test public void test() { context.checking(new Expectations() { { oneOf(em).flush(); } }); assertTrue(sut.execute(null)); context.assertIsSatisfied(); }
@Override public Boolean execute(final PersistenceRequest inRequest) { flush(); return true; }
FlushMapper extends BaseArgDomainMapper<PersistenceRequest, Boolean> { @Override public Boolean execute(final PersistenceRequest inRequest) { flush(); return true; } }
FlushMapper extends BaseArgDomainMapper<PersistenceRequest, Boolean> { @Override public Boolean execute(final PersistenceRequest inRequest) { flush(); return true; }  }
FlushMapper extends BaseArgDomainMapper<PersistenceRequest, Boolean> { @Override public Boolean execute(final PersistenceRequest inRequest) { flush(); return true; }  @Override Boolean execute(final PersistenceRequest inRequest); }
FlushMapper extends BaseArgDomainMapper<PersistenceRequest, Boolean> { @Override public Boolean execute(final PersistenceRequest inRequest) { flush(); return true; }  @Override Boolean execute(final PersistenceRequest inRequest);  }