public async Task ExporterContentPane_ErrorTest()
        {
            var inconsistentFixture = new AppEnvironmentFixture();

            inconsistentFixture.ClientServiceMock.RegistrationData = null;

            var model = ActivatorUtilities.CreateInstance <ExporterContentPaneModel>(inconsistentFixture.ProvideServices(new ServiceCollection()).BuildServiceProvider());

            model.Url         = Fixture.UrlHelperMock.Object;
            model.PageContext = CreateContext(new Dictionary <string, string>
            {
                { "page", "fake_page" }
            });
            await model.OnGet("10011", "DK-1", "", "", "", "", "", "", "", "", "", "");

            Assert.Equal("mock_exception", model.ErrorInfo.error);
            Assert.Equal("Error initializing ExporterContentPane", model.ErrorInfo.error_description);
            Assert.Equal("error_log.zip", model.ErrorInfo.error_result);
            Assert.Matches("mock_[-a-zA-Z0-9]*", model.ErrorInfo.request_id);
        }