Fxmlrpc\AbstractDecoratorTest::testCallInvokesWrappedInstance PHP Метод

testCallInvokesWrappedInstance() публичный Метод

    public function testCallInvokesWrappedInstance()
    {
        $this->wrapped->expects($this->once())->method('call')->with('method', array('arg1', 'arg2'))->will($this->returnValue('response'));
        $this->assertSame('response', $this->decorator->call('method', array('arg1', 'arg2')));
    }