soapClient = new stdclass(); $this->service = new Zend_Service_StrikeIron_ZipCodeInfo(array('client' => $this->soapClient)); } public function testInheritsFromBase() { $this->assertType('Zend_Service_StrikeIron_Base', $this->service); } public function testHasCorrectWsdl() { $wsdl = 'http://sdpws.strikeiron.com/zf1.StrikeIron/sdpZIPCodeInfo?WSDL'; $this->assertEquals($wsdl, $this->service->getWsdl()); } public function testInstantiationFromFactory() { $strikeIron = new Zend_Service_StrikeIron(array('client' => $this->soapClient)); $client = $strikeIron->getService(array('class' => 'ZipCodeInfo')); $this->assertType('Zend_Service_StrikeIron_ZipCodeInfo', $client); } }