public function testConstructor() { $currency = Currency::fromCode('EUR'); $this->assertEquals('EUR', $currency->code()); }