File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
service/src/test/java/uk/nhs/adaptors/gp2gp/ehr/mapper Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -178,11 +178,18 @@ void When_TransformingContainedResourceToEhrComp_WithUnsupportedComponent_Expect
178178
179179 @ Test
180180 void When_TransformingResourceToEhrComp_Expect_IgnoredResourceToBeIgnored () {
181- setupMock (ResourceTestFileUtils .getFileContent ("" )); // empty filePath provided as this isn't expected to return anything
182181 String bundle = ResourceTestFileUtils .getFileContent (UNCATAGORISED_IGNORED_RESOURCE_BUNDLE );
183182 Bundle parsedBundle = fhirParseService .parseResource (bundle , Bundle .class );
184183
184+ nonConsultationResourceMapper = new NonConsultationResourceMapper (
185+ messageContext ,
186+ randomIdGeneratorService ,
187+ encounterComponentsMapper ,
188+ new BloodPressureValidator ()
189+ );
190+
185191 var translatedOutput = nonConsultationResourceMapper .mapRemainingResourcesToEhrCompositions (parsedBundle );
192+
186193 assertThat (translatedOutput ).isEmpty ();
187194 }
188195
You can’t perform that action at this time.
0 commit comments