public function seeNumberOfMessagesInQueue($queue, $expected)
    {
        $messageCount = $this->_countMessage($queue);
        $this->assertEquals($expected, $messageCount);
    }
public function seeNumberOfMessagesInQueue($queue, $expected)
    {
        $messageCount = $this->_countMessage($queue);
        $this->assertEquals($expected, $messageCount);
    }
public function seeNumberOfMessagesInQueue ( $ queue , $ expected ) { $ messageCount = $ this -> _countMessage ( $ queue ) ; $ this -> assertEquals ( $ expected , $ messageCount ) ; }
Checks that queue have expected number of message

``` php
<?php
$I->pushToQueue('queue.emails', 'Hello, davert');
$I->seeNumberOfMessagesInQueue('queue.emails',1);
?>
```

@param string $queue
@param int $expected
Checks that queue have expected number of message