public function testWontMatchModifier()
{
$trueInstance = TruePointFilter::getInstance();
$notInstance = new NotPointFilter($trueInstance);
$filterKind = PointFilter::KIND_METHOD;
$pointcut = new SignaturePointcut($filterKind, 'publicMethod', $notInstance);
$matched = $pointcut->matches(new \ReflectionMethod(self::STUB_CLASS, 'publicMethod'));
$this->assertFalse($matched, "Pointcut should not match modifier");
}