HosebirdReader { @VisibleForTesting @SuppressWarnings("checkstyle:designforextension") protected LinkedBlockingQueue<String> getBufferQueue(final int size) { return new LinkedBlockingQueue<>(size); } HosebirdReader(); final void run(final String[] args);  }
@Test public void getbufferqueue_should_create_queue_correctly() { HosebirdReader tr = new ConcreteHosebirdReader(); LinkedBlockingQueue<String> q = tr.getBufferQueue(10); assertEquals(10, q.remainingCapacity()); }