Scheb\TwoFactorBundle\Tests\Security\TwoFactor\Session\SessionFlagManagerTest::setUp PHP Method

setUp() public method

public setUp ( )
    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);
    }