public function __toString() { return $this->getLabel(); }
public function testGettersSetters() { $currency = new Currency(); $currency->setLabel('EUR'); $this->assertEquals('EUR', $currency->getLabel()); $this->assertEquals('EUR', $currency->__toString()); }