Scheb\TwoFactorBundle\Tests\Security\TwoFactor\EventListener\InteractiveLoginListenerTest::onSecurityInteractiveLogin_NotLoggedInUser_notRequestAuthenticationCode PHP Method

onSecurityInteractiveLogin_NotLoggedInUser_notRequestAuthenticationCode() public method

    public function onSecurityInteractiveLogin_NotLoggedInUser_notRequestAuthenticationCode()
    {
        // simulate a not logged in user
        $event = $this->createEvent(null, self::NON_WHITELISTED_IP);
        //Expect TwoFactorProvider not to be called
        $this->authHandler->expects($this->never())->method('beginAuthentication');
        $this->listener->onSecurityInteractiveLogin($event);
    }