Scheb\TwoFactorBundle\Tests\Security\TwoFactor\Provider\TwoFactorProviderRegistryTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->eventDispatcher = $this->createMock('Symfony\\Component\\EventDispatcher\\EventDispatcherInterface');
        $this->flagManager = $this->createMock('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Session\\SessionFlagManager');
        $this->provider = $this->createMock('Scheb\\TwoFactorBundle\\Security\\TwoFactor\\Provider\\TwoFactorProviderInterface');
        $this->registry = new TwoFactorProviderRegistry($this->flagManager, $this->eventDispatcher, '_auth_code', array('test' => $this->provider));
    }