WorkerPoolInfo implements ConsumerInfo { @Override public Sequence[] getSequences() { return workerPool.getWorkerSequences(); } 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 getSequences() { Sequence[] sequences = workerPoolInfo.getSequences(); Assert.assertTrue(sequences.length == 2); }