question: public void testConstructor2 ( ) { Executor e = Executors . newFixedThreadPool ( 1 ) ; SubmissionPublisher < Integer > p = new SubmissionPublisher < Integer > ( e , 8 ) ; checkInitialState ( p ) ; assertSame ( p . getExecutor ( ) , e ) ; assertEquals ( 8 , p . getMaxBufferCapacity ( ) ) ; }
target:  A new SubmissionPublisher has no subscribers, is not closed, has the given buffer size, and uses the given executor