X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2F5ServerTest.php;h=483bebcc308aed83aa64468314e85ea8f1458234;hb=acc91a7e16e2e2f09fb5b192e89ac4007a40973f;hp=92d8ba9e15b71dc47691003d6143378616e5864c;hpb=b337d292eb5b5656d27a2fc9ab6796be300c59a3;p=plcapi.git diff --git a/tests/5ServerTest.php b/tests/5ServerTest.php index 92d8ba9..483bebc 100644 --- a/tests/5ServerTest.php +++ b/tests/5ServerTest.php @@ -826,6 +826,15 @@ And turned it into nylon'; $this->assertEquals('Michigan', $v->scalarval()); } + public function testServerWrappedClassWithNamespace() + { + $m = new xmlrpcmsg('namespacetest.findState', array( + new xmlrpcval(23, 'int'), + )); + $v = $this->send($m); + $this->assertEquals('Michigan', $v->scalarval()); + } + public function testWrappedMethod() { // make a 'deep client copy' as the original one might have many properties set