protected function setUp() { parent::setUp(); $this->identityProvider = new IdentityProvider(); $this->useServiceMock('Aeris\\ZfAuth\\IdentityProvider', $this->identityProvider); $this->identityProvider->setCanAuthenticate(true); }
protected function setUp() { parent::setUp(); $this->fixtures = $this->loadFixtures(__DIR__ . '/fixtures/oauth.yml'); }
protected function setUp() { $this->voter = M::mock('\\Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface', ['supportsClass' => true, 'supportsAttribute' => true]); parent::setUp(); $this->authService = $this->useService('Aeris\\ZfAuth\\Service\\AuthService'); }