Scheb\TwoFactorBundle\Tests\DependencyInjection\SchebTwoFactorExtensionTest::load_noAuthEnabled_notLoadServices PHP Метод

load_noAuthEnabled_notLoadServices() публичный Метод

    public function load_noAuthEnabled_notLoadServices()
    {
        $config = $this->getEmptyConfig();
        $this->extension->load(array($config), $this->container);
        //Google
        $this->assertNotHasDefinition('scheb_two_factor.security.google');
        $this->assertNotHasDefinition('scheb_two_factor.security.google_authenticator');
        $this->assertNotHasDefinition('scheb_two_factor.security.google.provider');
        //Email
        $this->assertNotHasDefinition('scheb_two_factor.auth_code_mailer');
        $this->assertNotHasDefinition('scheb_two_factor.security.email.code_manager');
        $this->assertNotHasDefinition('scheb_two_factor.security.email.provider');
    }