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);
}