Scheb\TwoFactorBundle\Tests\Security\TwoFactor\Provider\Email\TwoFactorProviderTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->generator = $this->createMock('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Provider\\Email\\Generator\\CodeGeneratorInterface');
        $this->authenticator = $this->createMock('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Provider\\Email\\Validation\\CodeValidatorInterface');
        $this->renderer = $this->createMock('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Renderer');
        $this->provider = new TwoFactorProvider($this->generator, $this->authenticator, $this->renderer, 'authCodeName');
    }