/** * "AfterReturning" advice which should never be reached * * @param \AppserverIo\Psr\MetaobjectProtocol\Aop\MethodInvocationInterface $methodInvocation Initially invoked method * * @return null * * @AfterReturning */ public function neverReachedAfterReturningAdvice(MethodInvocationInterface $methodInvocation) { MethodInvocationTestClass::$staticStorage = 'I have been reached'; }
/** * Set up our test class * * @return null */ public function setUp() { $this->testClass = new MethodInvocationTestClass(); MethodInvocationTestClass::$staticStorage = null; }