PHP Classes

File: tests/DomHandler/Wsdl/Tag/TagListTest.php

Recommend this page to a friend!
  Classes of WsdlToPhp  >  PHP SOAP Package Generator  >  tests/DomHandler/Wsdl/Tag/TagListTest.php  >  Download  
File: tests/DomHandler/Wsdl/Tag/TagListTest.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP SOAP Package Generator
Generate package to call SOAP services using WSDL
Author: By
Last change:
Date: 6 years ago
Size: 618 bytes
 

Contents

Class file image Download
<?php

namespace WsdlToPhp\PackageGenerator\Tests\DomHandler\Wsdl\Tag;

use
WsdlToPhp\PackageGenerator\Tests\TestCase;
use
WsdlToPhp\PackageGenerator\Tests\Model\WsdlTest;
use
WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Wsdl;

class
TagListTest extends TestCase
{
   
/**
     *
     */
   
public function testGetSuitableParent()
    {
       
$wsdl = WsdlTest::odigeoInstance();

       
$lists = $wsdl->getContent()->getElementsByName(Wsdl::TAG_LIST);

       
$this->assertCount(4, $lists);

        foreach (
$lists as $list) {
           
$this->assertSame('int', $list->getAttributeItemType());
        }
    }
}

For more information send a message to info at phpclasses dot org.