private async void ReturnEntriesForHina() { const string consentId = "ConsentId"; const string consentManagerId = "ConsentManagerId"; var grantedContexts = new List <GrantedContext> { new GrantedContext("RVH1003", "BI-KTH-12.05.0024"), new GrantedContext("RVH1003", "NCP1008") }; var dateRange = new DateRange("2017-12-01T15:43:00.818234", "2021-12-31T15:43:00.818234"); var hiTypes = new List <HiType> { HiType.Condition, HiType.Observation, HiType.DiagnosticReport, HiType.MedicationRequest, HiType.DocumentReference, HiType.Prescription, HiType.DischargeSummary, HiType.OPConsultation }; var traceableDataRequest = new TraceableDataRequest(grantedContexts, dateRange, "/someUrl", hiTypes, "someTxnId", null, consentManagerId, consentId, "sometext", Uuid.Generate().ToString()); var entries = await collect.CollectData(traceableDataRequest); entries.ValueOrDefault().CareBundles.Count().Should().Be(18); }