public function testSetBaseCurrencyCode() { $xml = new \XMLWriter(); $xml->openMemory(); $xml->setIndent(true); $xml->setIndentString("\t"); $node = new CurrencyAmount(); $this->setExpectedException('InvalidArgumentException'); $node->setBaseCurrencyCode('Foo'); }