count() public method

Returns the number of remaining items in the queue.
public count ( ) : integer
return integer
 protected function tearDown()
 {
     if ($this->handler->count() > 0) {
         $this->fail('Not all responses were given');
     }
 }