public function testget_currency_symbol() { $opportunity = new Opportunity(); //te4st without currency id $this->assertEquals('', $opportunity->get_currency_symbol()); //test with invalid currency id $opportunity->currency_id = 1; $this->assertEquals('', $opportunity->get_currency_symbol()); }