public function testDisplayPrices() { $basePrice = 3; $price = 4; $display = "\$3 [L4]"; $this->defaultColumnRenderer->expects($this->once())->method('displayPrices')->with($basePrice, $price)->will($this->returnValue($display)); $this->assertEquals($display, $this->renderer->displayPrices($basePrice, $price)); }