@Test public void testExecute() { IndexEntityTester sut = new IndexEntityTester(); sut.setFullTextSession(fullTextSessionMock); context.checking(new Expectations() { { oneOf(fullTextSessionMock).index(person); } }); assertTrue(sut.execute(person)); context.assertIsSatisfied(); }
@Override public Boolean execute(final T inRequest) { getFullTextSession().index(inRequest); return Boolean.TRUE; }
IndexEntity extends BaseArgDomainMapper<T, Boolean> { @Override public Boolean execute(final T inRequest) { getFullTextSession().index(inRequest); return Boolean.TRUE; } }
IndexEntity extends BaseArgDomainMapper<T, Boolean> { @Override public Boolean execute(final T inRequest) { getFullTextSession().index(inRequest); return Boolean.TRUE; }  }
IndexEntity extends BaseArgDomainMapper<T, Boolean> { @Override public Boolean execute(final T inRequest) { getFullTextSession().index(inRequest); return Boolean.TRUE; }  @Override Boolean execute(final T inRequest); }
IndexEntity extends BaseArgDomainMapper<T, Boolean> { @Override public Boolean execute(final T inRequest) { getFullTextSession().index(inRequest); return Boolean.TRUE; }  @Override Boolean execute(final T inRequest);  }