Contao\CoreBundle\Test\DependencyInjection\Compiler\AddSessionBagsPassTest::testProcessWithoutSession PHP Méthode

testProcessWithoutSession() public méthode

Tests processing the pass without a session.
    public function testProcessWithoutSession()
    {
        $container = new ContainerBuilder();
        $pass = new AddSessionBagsPass();
        $pass->process($container);
        $this->assertFalse($container->hasDefinition('session'));
    }