public function onCoreRequest_pathExcluded_notRequestAuthenticationCode()
{
$event = $this->createEvent('/exclude/someFile');
$token = $this->createSupportedSecurityToken();
$this->stubTokenStorage($token);
//Expect TwoFactorProvider not to be called
$this->authHandler->expects($this->never())->method('requestAuthenticationCode');
$this->listener->onCoreRequest($event);
}