PhpMigration\Changes\v5dot3\IncompMagicInvokedTest::test PHP Method

test() public method

public test ( )
    public function test()
    {
        $code = <<<'EOC'
class Sample {
    protected function oh() {}
    public function __call() {}
}
EOC;
        $this->assertHasSpot($code);
        $code = <<<'EOC'
class Sample {
    public function oh() {}
    public function __call() {}
}
EOC;
        $this->assertNotSpot($code);
        $code = <<<'EOC'
class Sample {
    protected function oh() {}
}
EOC;
        $this->assertNotSpot($code);
    }
IncompMagicInvokedTest