method : poll concode_field_sep int QUEUE_BUFFER_SIZE concode_elem_sep WakeableLooper producer concode_elem_sep Communicator<Integer> communicator concode_elem_sep WakeableLooper consumer concode_field_sep void testRemainingCapacity concode_elem_sep void before concode_elem_sep void testIsEmpty concode_elem_sep void testSize concode_elem_sep void testOffer concode_elem_sep void after concode_elem_sep void testPeek concode_elem_sep void testGetCapacity
void function ( ) { for ( int loc0 = 0 ; loc0 < QUEUE_BUFFER_SIZE ; loc0 ++ ) { communicator . offer ( loc0 ) ; } for ( int loc0 = 0 ; loc0 < QUEUE_BUFFER_SIZE ; loc0 ++ ) { Assert . assertEquals ( loc0 , communicator . poll ( ) . intValue ( ) ) ; } Assert . assertNull ( communicator . poll ( ) ) ; }