/** * Test getting products with currency symbols. */ public function testGetProductsPriceWithSigil() { $products = $this->pl->getProducts(false, true); $this->assertEquals($products, array(array("title" => "First", "description" => "First Product", "unit_price" => "£2.50", "size" => 1000), array("title" => "Second", "description" => "Second Product", "unit_price" => "£0.50", "size" => 2000), array("title" => "Third", "description" => "Third Product", "unit_price" => "£10.00", "size" => 3550))); }