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);
}