Exemple #1
0
 /**
  * @test 
  */
 public function searchUsingWsdlFile()
 {
     $soapClient = new \Zend_Soap_Client($this->_getDomain() . $this->_getUrl() . '?wsdl');
     $result = $soapClient->search('symfony', 'php');
     $this->assertInstanceOf('stdClass', $result);
     $this->assertTrue($result->success);
     $this->assertNull($result->message);
     $this->assertInternalType('array', $result->results);
     $this->assertGreaterThan(0, count($result->results));
 }