public function testCount() { $this->innerQueue->expects($this->once())->method('count')->will($this->returnValue(42)); $this->assertSame(42, $this->queue->count()); }