/** * */ public function testGetLastResponseAsDomDocument() { $soapClient = new SoapClient(array(SoapClient::WSDL_URL => __DIR__ . '/resources/bingsearch.wsdl', SoapClient::WSDL_CLASSMAP => self::classMap())); $this->assertInstanceOf('\\DOMDocument', $soapClient->getLastResponse(true)); }