File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
service/src/test/java/uk/nhs/adaptors/gp2gp/ehr/mapper Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1818import org .junit .jupiter .params .provider .Arguments ;
1919import org .junit .jupiter .params .provider .MethodSource ;
2020import org .mockito .Mock ;
21- import org .mockito .junit .jupiter .MockitoSettings ;
22- import org .mockito .quality .Strictness ;
23-
21+ import org .mockito .MockitoAnnotations ;
2422import uk .nhs .adaptors .gp2gp .common .service .ConfidentialityService ;
2523import uk .nhs .adaptors .gp2gp .common .service .FhirParseService ;
2624import uk .nhs .adaptors .gp2gp .common .service .RandomIdGeneratorService ;
2725import uk .nhs .adaptors .gp2gp .ehr .exception .EhrMapperException ;
2826import uk .nhs .adaptors .gp2gp .utils .CodeableConceptMapperMockUtil ;
2927import uk .nhs .adaptors .gp2gp .utils .ResourceTestFileUtils ;
3028
31- @ MockitoSettings (strictness = Strictness .LENIENT )
3229public class DiaryPlanStatementMapperTest {
3330
3431 private static final String TEST_ID = "394559384658936" ;
@@ -74,6 +71,7 @@ public class DiaryPlanStatementMapperTest {
7471
7572 @ BeforeEach
7673 public void setUp () {
74+ MockitoAnnotations .openMocks (this );
7775 String inputJson = ResourceTestFileUtils .getFileContent (INPUT_BUNDLE );
7876 Bundle bundle = new FhirParseService ().parseResource (inputJson , Bundle .class );
7977
You can’t perform that action at this time.
0 commit comments