instance = new Anonymous(); } public function tearDown(): void { $this->instance = null; } public function testIsAuthorized() { $this->assertTrue($this->instance->isAuthorized()); } public function testGetAuthorizationUrl() { $this->expectException(InvalidCallException::class); $this->instance->getAuthorizationUrl('urlFixture'); } }