public function testGetProvider() { $provider = $this->getMockPersonRepository(); $auth = new Auth($this->getMockSession(), $provider, $this->getMockPermissionsProvider()); $this->assertEquals($provider, $auth->getProvider()); }