/**
* Checks if the target class is protected, the advice is woven in anyway.
* The necessary advice is defined in BaseFunctionalityAspect.
*
* Test for bugfix #2581
*
* @test
*/
public function protectedMethodsCanAlsoBeAdviced()
{
$targetClass = new Fixtures\TargetClass02();
$result = $targetClass->publicTargetMethod('foo');
$this->assertEquals('foo bar', $result);
}