(c) Contributors of the Neos Project - www.neos.io This package is Open Source Software. For the full copyright and license information, please view the LICENSE file which was distributed with this source code.
 /**
  * @test
  */
 public function methodWithStaticTypeDeclarationsCanBeAdvised()
 {
     if (version_compare(PHP_VERSION, '7.0.0') < 0) {
         $this->markTestSkipped('Requires PHP 7');
     }
     $targetClass = new Fixtures\TargetClassWithPhp7Features();
     $this->assertSame('This is so NaN', $targetClass->methodWithStaticTypeDeclarations('The answer', 42));
 }