@Test public void shouldReturnAgent() { assertThat(invoker.agent(), is(mockAgent)); }
public Agent agent() { return agent; }
AgentInvoker implements AutoCloseable { public Agent agent() { return agent; } }
AgentInvoker implements AutoCloseable { public Agent agent() { return agent; } AgentInvoker(final ErrorHandler errorHandler, final AtomicCounter errorCounter, final Agent agent); }
AgentInvoker implements AutoCloseable { public Agent agent() { return agent; } AgentInvoker(final ErrorHandler errorHandler, final AtomicCounter errorCounter, final Agent agent); boolean isStarted(); boolean isRunning(); boolean isClosed(); Agent agent(); void start(); int invoke(); final void close(); }
AgentInvoker implements AutoCloseable { public Agent agent() { return agent; } AgentInvoker(final ErrorHandler errorHandler, final AtomicCounter errorCounter, final Agent agent); boolean isStarted(); boolean isRunning(); boolean isClosed(); Agent agent(); void start(); int invoke(); final void close();  }