File tree Expand file tree Collapse file tree
gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/mapper Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,19 +113,19 @@ private void registerDependencies(Object... dependencies) {
113113 any (String .class )
114114 )).thenReturn (EHR_EXTRACT_AVAILABILITY_DATETIME );
115115 }
116- if
117- (dependency == confidentialityService ) {
116+ if (dependency == confidentialityService ) {
118117 Mockito .when (confidentialityService .createMetaAndAddSecurityIfConfidentialityCodesPresent (
119118 eq (META_PROFILE ),
120119 confidentialityCodeCaptor .capture (),
121120 confidentialityCodeCaptor .capture (),
122121 confidentialityCodeCaptor .capture ()
123122 )).thenReturn (MetaUtil .getMetaFor (META_WITHOUT_SECURITY , META_PROFILE ));
124123 }
125- if
126- (dependency == codeableConceptMapper ) {
127- var codeableConcept = new CodeableConcept ().addCoding (new Coding ().setDisplay (CODING_DISPLAY ));
128- when (codeableConceptMapper .mapToCodeableConcept (any ())).thenReturn (codeableConcept );
124+ if (dependency == codeableConceptMapper ) {
125+ var codeableConcept = new CodeableConcept ()
126+ .addCoding (new Coding ().setDisplay (CODING_DISPLAY ));
127+ when (codeableConceptMapper .mapToCodeableConcept (any ()))
128+ .thenReturn (codeableConcept );
129129 }
130130 }
131131 }
You can’t perform that action at this time.
0 commit comments