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

load_googleAuthEnabled_loadGoogleServices() public method

    public function load_googleAuthEnabled_loadGoogleServices()
    {
        $config = $this->getFullConfig();
        $this->extension->load(array($config), $this->container);
        $this->assertHasDefinition('scheb_two_factor.security.google');
        $this->assertHasDefinition('scheb_two_factor.security.google_authenticator');
        $this->assertHasDefinition('scheb_two_factor.security.google.provider');
        $this->assertHasDefinition('scheb_two_factor.security.google.google_code_validator');
        $this->assertHasDefinition('scheb_two_factor.security.google.backup_code_validator');
        $this->assertHasAlias('scheb_two_factor.security.google.code_validator', 'scheb_two_factor.security.google.backup_code_validator');
    }