Added tests on RpcLiteralRequestMessageBinder

This commit is contained in:
Francis Besset
2011-07-27 00:13:24 +02:00
parent 444107b89a
commit 483e8d1bb2
5 changed files with 183 additions and 41 deletions

View File

@ -0,0 +1,9 @@
<?php
namespace BeSimple\SoapBundle\Tests\ServiceBinding\fixtures;
class Attributes
{
public $foo;
public $bar;
}

View File

@ -0,0 +1,20 @@
<?php
namespace BeSimple\SoapBundle\Tests\ServiceBinding\fixtures;
class ComplexType
{
public $bar;
private $foo;
public function getFoo()
{
return $this->foo;
}
public function setFoo($foo)
{
$this->foo = $foo;
}
}

View File

@ -1,13 +0,0 @@
<?php
namespace BeSimple\SoapBundle\Tests\ServiceBinding\fixtures;
class Foo
{
public $bar;
public function __construct($bar = null)
{
$this->bar = $bar;
}
}

View File

@ -0,0 +1,29 @@
<?php
namespace BeSimple\SoapBundle\Tests\ServiceBinding\fixtures;
class Setters
{
private $foo;
private $bar;
public function getFoo()
{
return $this->foo;
}
public function setFoo($foo)
{
$this->foo = $foo;
}
public function getBar()
{
return $this->bar;
}
public function setBar($bar)
{
$this->bar = $bar;
}
}