Added tests on RpcLiteralRequestMessageBinder
This commit is contained in:
9
Tests/ServiceBinding/fixtures/Attributes.php
Normal file
9
Tests/ServiceBinding/fixtures/Attributes.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace BeSimple\SoapBundle\Tests\ServiceBinding\fixtures;
|
||||
|
||||
class Attributes
|
||||
{
|
||||
public $foo;
|
||||
public $bar;
|
||||
}
|
20
Tests/ServiceBinding/fixtures/ComplexType.php
Normal file
20
Tests/ServiceBinding/fixtures/ComplexType.php
Normal 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;
|
||||
}
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace BeSimple\SoapBundle\Tests\ServiceBinding\fixtures;
|
||||
|
||||
class Foo
|
||||
{
|
||||
public $bar;
|
||||
|
||||
public function __construct($bar = null)
|
||||
{
|
||||
$this->bar = $bar;
|
||||
}
|
||||
}
|
29
Tests/ServiceBinding/fixtures/Setters.php
Normal file
29
Tests/ServiceBinding/fixtures/Setters.php
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user