public function testSetCurrency() { $this->assertNotNull($this->invoice); $currency = $this->getMockCurrency(); $this->invoice->setCurrency($currency); $this->assertSame($currency, $this->invoice->getCurrency()); }