public function setUp()
{
$this->session = $this->createMock('Symfony\\Component\\HttpFoundation\\Session\\SessionInterface');
$this->flagGenerator = $this->createMock('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Session\\SessionFlagGenerator');
$this->sessionFlagManager = new SessionFlagManager($this->session, $this->flagGenerator);
}