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