public void testEmptyTimedOffer(){
  SubmissionPublisher<Integer> p=basicPublisher();
  long startTime=System.nanoTime();
  assertEquals(0,p.offer(1,LONG_DELAY_MS,MILLISECONDS,null));
  assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS / 2);
}

public void testEmptyTimedOffer ( ) { SubmissionPublisher < Integer > p = basicPublisher ( ) ; long startTime = System . nanoTime ( ) ; assertEquals ( 0 , p . offer ( 1 , LONG_DELAY_MS , MILLISECONDS , null ) ) ; assertTrue ( millisElapsedSince ( startTime ) < LONG_DELAY_MS / 2 ) ; }
timed offer to a publisher with no subscribers returns lag 0
