public DefaultIdentityServerInteractionServiceTests()
    {
        _mockMockHttpContextAccessor = new MockHttpContextAccessor(_options, _mockUserSession, _mockEndSessionStore, _mockServerUrls);

        _subject = new DefaultIdentityServerInteractionService(new StubClock(),
                                                               _mockMockHttpContextAccessor,
                                                               _mockLogoutMessageStore,
                                                               _mockErrorMessageStore,
                                                               _mockConsentStore,
                                                               _mockPersistedGrantService,
                                                               _mockUserSession,
                                                               _mockReturnUrlParser,
                                                               TestLogger.Create <DefaultIdentityServerInteractionService>()
                                                               );

        _resourceValidationResult = new ResourceValidationResult();
        _resourceValidationResult.Resources.IdentityResources.Add(new IdentityResources.OpenId());
        _resourceValidationResult.ParsedScopes.Add(new ParsedScopeValue("openid"));
    }