/** * test for method displayPriceIncludingTax */ public function testDisplayPriceIncludingTax() { $expectedResult = true; $this->taxHelperMock->expects($this->once())->method('displayPriceIncludingTax')->will($this->returnValue($expectedResult)); $result = $this->model->displayPriceIncludingTax(); $this->assertEquals($expectedResult, $result); }