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