/** * Make sure getFinalPrice method works correctly. */ public function test_get_final_price() { $this->assertEquals($this->billProduct->final_price, BillProductData::getFinalPrice($this->billProduct->id)); $this->assertEquals($this->billApplicationProduct->final_price, BillProductData::getFinalPrice($this->billApplicationProduct->id)); }