File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
service/src/test/java/uk/nhs/adaptors/gp2gp/ehr/mapper Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11package uk .nhs .adaptors .gp2gp .ehr .mapper ;
22
33import static org .assertj .core .api .Assertions .assertThat ;
4- import static org .mockito .Mockito .lenient ;
54
5+ import static org .mockito .Mockito .when ;
66import static uk .nhs .adaptors .gp2gp .utils .IdUtil .buildReference ;
77
88import java .util .Map ;
@@ -40,7 +40,7 @@ class AgentDirectoryTest {
4040
4141 @ BeforeEach
4242 public void setUp () {
43- lenient (). when (randomIdGeneratorService .createNewId ()).thenReturn (GENERATED_ID_1 , GENERATED_ID_2 );
43+ when (randomIdGeneratorService .createNewId ()).thenReturn (GENERATED_ID_1 , GENERATED_ID_2 );
4444
4545 String jsonInput = ResourceTestFileUtils .getFileContent (INPUT_BUNDLE );
4646 inputBundle = new FhirParseService ().parseResource (jsonInput , Bundle .class );
You can’t perform that action at this time.
0 commit comments