Neos\Flow\Tests\Unit\Core\ApplicationContextTest::contextStringCanBeSetInConstructorAndReadByCallingToString PHP Method

contextStringCanBeSetInConstructorAndReadByCallingToString() public method

    public function contextStringCanBeSetInConstructorAndReadByCallingToString($allowedContext)
    {
        $context = new ApplicationContext($allowedContext);
        $this->assertSame($allowedContext, (string) $context);
    }