@Test
public void testRequestFromFinalSubscribeWithoutRequestValue() {

    Subscriber<String> s = new TestSubscriber<String>();
    final AtomicLong r = new AtomicLong();
    s.setProducer(new Producer() {
        @Override
        public void request(long n) {
            r.set(n);
        }
    });
    assertEquals(Long.MAX_VALUE, r.get());
}