Contao\CoreBundle\Test\Framework\Adapter\AdapterTest::testMagicCall PHP Method

testMagicCall() public method

Tests the __call method.
public testMagicCall ( )
    public function testMagicCall()
    {
        $adapter = new Adapter('Contao\\CoreBundle\\Test\\Fixtures\\Adapter\\LegacyClass');
        $this->assertEquals(['staticMethod', 1, 2], $adapter->staticMethod(1, 2));
    }