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