public function testGetStatusCollection() { $collection = $this->getMock('Magento\\Review\\Model\\Resource\\Review\\Status\\Collection', [], [], '', false); $this->statusFactoryMock->expects($this->once())->method('create')->will($this->returnValue($collection)); $this->assertSame($collection, $this->review->getStatusCollection()); }