WorkerPoolInfo implements ConsumerInfo { @Override public boolean isEndOfChain() { return endOfChain; } WorkerPoolInfo(final WorkerPool<T> workerPool, final SequenceBarrier sequenceBarrier); @Override Sequence[] getSequences(); @Override SequenceBarrier getBarrier(); @Override boolean isEndOfChain(); @Override void start(final Executor executor); @Override void halt(); @Override void markAsUsedInBarrier(); @Override boolean isRunning();  }
@Test public void isEndOfChain() { Assert.assertTrue(workerPoolInfo.isEndOfChain()); }