Scheb\TwoFactorBundle\Tests\Security\TwoFactor\AuthenticationContextFactoryTest::setUp PHP Метод

setUp() публичный Метод

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->authenticationContextFactory = new AuthenticationContextFactory('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\AuthenticationContext');
    }