Skip to content

Commit c6ebef2

Browse files
TEST
1 parent a6c99aa commit c6ebef2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

gp2gp-translator/src/test/java/uk/nhs/adaptors/pss/translator/mapper/ConditionMapperTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)