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

onCoreRequest_tokenClassNotSupported_doNothing() public method

    public function onCoreRequest_tokenClassNotSupported_doNothing()
    {
        $event = $this->createEvent();
        $token = $this->createMock('Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface');
        $this->stubTokenStorage($token);
        //Stub the TwoFactorProvider
        $this->authHandler->expects($this->never())->method('requestAuthenticationCode');
        $this->listener->onCoreRequest($event);
    }