public function testCompositeDelegatesAddingComplexTypesToSubStrategies() { $this->strategy = new ComplexTypeStrategy\Composite(array(), new AnyType()); $this->strategy->connectTypeToStrategy('\\ZendTest\\Soap\\TestAsset\\Book', new ArrayOfTypeComplex()); $this->strategy->connectTypeToStrategy('\\ZendTest\\Soap\\TestAsset\\Cookie', new DefaultComplexType()); parent::setUp(); $this->assertEquals('tns:Book', $this->strategy->addComplexType('\\ZendTest\\Soap\\TestAsset\\Book')); $this->assertEquals('tns:Cookie', $this->strategy->addComplexType('\\ZendTest\\Soap\\TestAsset\\Cookie')); $this->assertEquals('xsd:anyType', $this->strategy->addComplexType('\\ZendTest\\Soap\\TestAsset\\Anything')); $this->testDocumentNodes(); }
public function setUp() { $this->strategy = new ArrayOfTypeComplex(); parent::setUp(); }
public function setUp() { $this->strategy = new \Zend\Soap\Wsdl\ComplexTypeStrategy\ArrayOfTypeSequence(); parent::setUp(); }
public function setUp() { $this->strategy = new DefaultComplexType(); parent::setUp(); }