/**
  * @test
  */
 public function methodArgumentsCanBeSetInTheJoinpoint()
 {
     $targetClass = new Fixtures\TargetClass01();
     $result = $targetClass->greet('Andi');
     $this->assertEquals('Hello, Robert', $result, 'The method argument "name" has not been changed as expected by the "changeNameArgumentAdvice".');
 }
 /**
  * @test
  */
 public function staticMethodsCannotBeAdvised()
 {
     $targetClass01 = new Fixtures\TargetClass01();
     $this->assertSame('I won\'t take any advice', $targetClass01->someStaticMethod());
 }