private void AssertGdprExportReportExtracted(ItSystemUsage usage, GDPRExportReport gdprExportReport)
        {
            Assert.Equal(usage.ItSystem.Uuid.ToString("D"), gdprExportReport.SystemUuid);
            Assert.Equal(usage.ItSystem.Name, gdprExportReport.SystemName);
            Assert.Equal(usage.isBusinessCritical, gdprExportReport.BusinessCritical);
            Assert.Equal(usage.DPIA, gdprExportReport.DPIA);
            Assert.Equal(usage.riskAssessment, gdprExportReport.RiskAssessment);
            Assert.Equal(usage.preriskAssessment, gdprExportReport.PreRiskAssessment);

            if (!string.IsNullOrEmpty(usage.LinkToDirectoryUrl))
            {
                Assert.True(gdprExportReport.LinkToDirectory);
            }
            else
            {
                Assert.False(gdprExportReport.LinkToDirectory);
            }

            Assert.Equal(usage.AssociatedDataProcessingRegistrations?.Any(x => x.IsAgreementConcluded == YesNoIrrelevantOption.YES) == true, gdprExportReport.DataProcessingAgreementConcluded);

            if (usage.SensitiveDataLevels.Any(x => x.SensitivityDataLevel == SensitiveDataLevel.NONE))
            {
                Assert.True(gdprExportReport.NoData);
            }
            else
            {
                Assert.False(gdprExportReport.NoData);
            }

            if (usage.SensitiveDataLevels.Any(x => x.SensitivityDataLevel == SensitiveDataLevel.PERSONALDATA))
            {
                Assert.True(gdprExportReport.PersonalData);
            }
            else
            {
                Assert.False(gdprExportReport.PersonalData);
            }

            if (usage.SensitiveDataLevels.Any(x => x.SensitivityDataLevel == SensitiveDataLevel.SENSITIVEDATA))
            {
                Assert.True(gdprExportReport.SensitiveData);
            }
            else
            {
                Assert.False(gdprExportReport.SensitiveData);
            }

            if (usage.SensitiveDataLevels.Any(x => x.SensitivityDataLevel == SensitiveDataLevel.LEGALDATA))
            {
                Assert.True(gdprExportReport.LegalData);
            }
            else
            {
                Assert.False(gdprExportReport.LegalData);
            }
        }
 private void AssertSensitivePersonalDataType(SensitivePersonalDataType expected, GDPRExportReport actual)
 {
     if (actual.SensitiveData)
     {
         Assert.Equal(expected.Name, actual.SensitiveDataTypes.First());
     }
     else
     {
         Assert.Empty(actual.SensitiveDataTypes);
     }
 }