public function testGetMaxPrice() { $maxPrice = 8000; $this->productCollection->expects($this->once())->method('getMaxPrice')->will($this->returnValue($maxPrice)); $this->assertSame(floatval($maxPrice), $this->target->getMaxPrice()); }
public function testGetMaxPriceInt() { $this->assertEquals(45.0, $this->_model->getMaxPrice()); }