public function requestAuthenticationCode_alreadyAuthenticated_notCallTwoFactorProvider()
{
$context = $this->getAuthenticationContext();
//Stub the SessionFlagManager
$this->stubIsNotAuthenticated(false);
//Mock the provider
$this->provider->expects($this->never())->method('requestAuthenticationCode');
// Must not dispatch event
$this->eventDispatcher->expects($this->never())->method('dispatch');
$this->registry->requestAuthenticationCode($context);
}