public function getSessionFlag_noProviderKey_returnSessionFlag()
{
$token = $this->createMock('Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface');
$token->expects($this->once())->method('getUsername')->willReturn('username');
$returnValue = $this->sessionFlagGenerator->getSessionFlag('twoFactorProvider', $token);
$this->assertEquals('two_factor_twoFactorProvider_any_username', $returnValue);
}