PHP Classes

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

Recommend this page to a friend!
  Classes of WsdlToPhp   PHP SOAP Package Generator   tests/DomHandler/Wsdl/Tag/TagRestrictionTest.php   Download  
File: tests/DomHandler/Wsdl/Tag/TagRestrictionTest.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: 9 years ago
Size: 600 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
TagRestrictionTest extends TestCase
{
   
/**
     *
     */
   
public function testIsEnumeration()
    {
       
$wsdl = WsdlTest::bingInstance();

       
$restrictions = $wsdl->getContent()->getElementsByName(Wsdl::TAG_RESTRICTION);

        foreach (
$restrictions as $restriction) {
           
$this->assertTrue($restriction->isEnumeration());
        }
    }
}