Scheb\TwoFactorBundle\Tests\Security\TwoFactor\AuthenticationContextTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->request = $this->createMock('Symfony\\Component\\HttpFoundation\\Request');
        $this->token = $this->createMock('Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface');
        $this->authContext = new AuthenticationContext($this->request, $this->token);
    }