public function testSetCode() { $this->assertNotNull($this->currency); $this->currency->setCode('usd'); $this->assertSame('USD', $this->currency->getCode()); }