### Question:
PoolingAsyncResponseConsumerFactory implements HttpAsyncResponseConsumerFactory, LifeCycle { @Override public void start() { if (!isStarted()) { pool.start(); state = State.STARTED; } } PoolingAsyncResponseConsumerFactory(GenericItemSourcePool<SimpleInputBuffer> pool); @Override HttpAsyncResponseConsumer<HttpResponse> create(); @Override void start(); @Override void stop(); @Override boolean isStarted(); @Override boolean isStopped();  }### Answer:
@Test public void lifecycleStartStartPoolOnlyOnce() { GenericItemSourcePool pool = mock(GenericItemSourcePool.class); PoolingAsyncResponseConsumerFactory objectFactory = createAsyncResponseConsumerFactory(pool); objectFactory.start(); objectFactory.start(); verify(pool).start(); }