@Test public void shouldReturnAgent() { assertThat(runner.agent(), is(mockAgent)); }
public Agent agent() { return agent; }
AgentRunner implements Runnable, AutoCloseable { public Agent agent() { return agent; } }
AgentRunner implements Runnable, AutoCloseable { public Agent agent() { return agent; } AgentRunner(
        final IdleStrategy idleStrategy,
        final ErrorHandler errorHandler,
        final AtomicCounter errorCounter,
        final Agent agent); }
AgentRunner implements Runnable, AutoCloseable { public Agent agent() { return agent; } AgentRunner(
        final IdleStrategy idleStrategy,
        final ErrorHandler errorHandler,
        final AtomicCounter errorCounter,
        final Agent agent); static Thread startOnThread(final AgentRunner runner); static Thread startOnThread(final AgentRunner runner, final ThreadFactory threadFactory); Agent agent(); boolean isClosed(); Thread thread(); void run(); final void close(); final void close(final int retryCloseTimeoutMs, final Consumer<Thread> closeFailAction); }
AgentRunner implements Runnable, AutoCloseable { public Agent agent() { return agent; } AgentRunner(
        final IdleStrategy idleStrategy,
        final ErrorHandler errorHandler,
        final AtomicCounter errorCounter,
        final Agent agent); static Thread startOnThread(final AgentRunner runner); static Thread startOnThread(final AgentRunner runner, final ThreadFactory threadFactory); Agent agent(); boolean isClosed(); Thread thread(); void run(); final void close(); final void close(final int retryCloseTimeoutMs, final Consumer<Thread> closeFailAction); static final Thread TOMBSTONE; static final int RETRY_CLOSE_TIMEOUT_MS; }