/** * @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".'); }