Neos\Flow\Tests\Functional\Aop\FrameworkTest::globalObjectsAreSupportedInMethodRuntimeCondition PHP Method

globalObjectsAreSupportedInMethodRuntimeCondition() public method

    public function globalObjectsAreSupportedInMethodRuntimeCondition()
    {
        $targetClass = $this->objectManager->get(Fixtures\TargetClass01::class);
        $this->assertSame('Hello, superstar', $targetClass->greet('Robbie'), 'Aspect should greet with "superstar" if the global context getNameOfTheWeek equals the given name');
        $this->assertSame('Hello, Christopher', $targetClass->greet('Christopher'), 'Aspect should greet with given name if the global context getNameOfTheWeek does not equal the given name');
    }