public function soapHashmap() { $node = new XPSoapNode('item', '', array('xmlns:hash' => 'http://xml.apache.org/xml-soap', 'xsi:type' => 'hash:Map')); $node->addChild(new XPSoapNode('item'))->withChild(new XPSoapNode('key', 'key', array('xsi:type' => 'xsd:string')))->withChild(new XPSoapNode('value', 'value', array('xsi:type' => 'xsd:string'))); $this->assertEquals($node, $this->node(new SOAPHashMap(array('key' => 'value')))); }