Scheb\TwoFactorBundle\Tests\DependencyInjection\SchebTwoFactorExtensionTest::load_emptyConfig_loadBasicServices PHP Method

load_emptyConfig_loadBasicServices() public method

    public function load_emptyConfig_loadBasicServices()
    {
        $config = $this->getFullConfig();
        $this->extension->load(array($config), $this->container);
        //Security
        $this->assertHasDefinition('scheb_two_factor.session_flag_manager');
        $this->assertHasDefinition('scheb_two_factor.session_flag_generator');
        $this->assertHasDefinition('scheb_two_factor.trusted_cookie_manager');
        $this->assertHasDefinition('scheb_two_factor.trusted_token_generator');
        $this->assertHasDefinition('scheb_two_factor.trusted_filter');
        $this->assertHasDefinition('scheb_two_factor.provider_registry');
        $this->assertHasDefinition('scheb_two_factor.backup_code_validator');
        //Doctrine
        $this->assertHasDefinition('scheb_two_factor.entity_manager');
        //Listeners
        $this->assertHasDefinition('scheb_two_factor.security.interactive_login_listener');
        $this->assertHasDefinition('scheb_two_factor.security.request_listener');
    }