/**
  * Tests if a Before advice gets woven at its correct position
  *
  * @return void
  */
 public function testPointcutBeforeSelection()
 {
     $this->testClass->iHaveABeforeAdvice();
     $methodInvocation = PointcutReferencingTestClass::$staticStorage;
     $this->assertInstanceOf('\\AppserverIo\\Psr\\MetaobjectProtocol\\Aop\\MethodInvocationInterface', $methodInvocation);
     $this->assertNull($methodInvocation->getResult());
     $this->assertNull($methodInvocation->getThrownException());
 }