PHP Classes

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

Recommend this page to a friend!
  Classes of WsdlToPhp  >  PHP SOAP Package Generator  >  tests/DomHandler/Wsdl/Tag/TagMessageTest.php  >  Download  
File: tests/DomHandler/Wsdl/Tag/TagMessageTest.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: 605 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
TagMessageTest extends TestCase
{
   
/**
     *
     */
   
public function testGetPart()
    {
       
$wsdl = WsdlTest::ebayInstance();

       
$messages = $wsdl->getContent()->getElementsByName(Wsdl::TAG_MESSAGE);

       
$this->assertInstanceOf('\\WsdlToPhp\\PackageGenerator\\DomHandler\\Wsdl\\Tag\\TagPart', $messages[0]->getPart('RequesterCredentials'));
    }
}

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