public function testGetClassmap() { $server = new Zend_Soap_Server(); $classmap = array('TestData1' => 'Zend_Soap_Server_TestData1', 'TestData2' => 'Zend_Soap_Server_TestData2'); $this->assertNull($server->getClassmap()); $server->setClassmap($classmap); $this->assertTrue($classmap == $server->getClassmap()); }
public function testGetClassmap() { if (!extension_loaded('soap')) { $this->markTestSkipped('SOAP Extension is not loaded'); } $server = new Zend_Soap_Server(); $classmap = array('TestData1' => 'Zend_Soap_Server_TestData1', 'TestData2' => 'Zend_Soap_Server_TestData2'); $this->assertNull($server->getClassmap()); $server->setClassmap($classmap); $this->assertTrue($classmap == $server->getClassmap()); }