Scheb\TwoFactorBundle\Tests\Security\TwoFactor\EventListener\RequestListenerTest::onCoreRequest_NotLoggedInUser_notRequestAuthenticationCode PHP Method

onCoreRequest_NotLoggedInUser_notRequestAuthenticationCode() public method

    public function onCoreRequest_NotLoggedInUser_notRequestAuthenticationCode()
    {
        $event = $this->createEvent();
        // simulate a not logged in user
        $this->stubTokenStorage(null);
        //Expect TwoFactorProvider not to be called
        $this->authHandler->expects($this->never())->method('requestAuthenticationCode');
        $this->listener->onCoreRequest($event);
    }