Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public function testPricesWithNoTax() { $price = new Price(100, Price::NETTO, -1); $this->assertEquals(100, $price->convertTo(Price::NETTO)); $this->assertEquals(100, $price->convertTo(Price::BRUTTO)); $this->assertEquals(0, $price->convertTo(Price::TAX)); }