public function testDisplayPriceExclTax() { $flag = true; $this->itemPriceRenderer->expects($this->once())->method('displayPriceExclTax')->will($this->returnValue($flag)); $this->assertEquals($flag, $this->renderer->displayPriceExclTax()); }