diff --git a/src/test/java/cz/cvut/kbss/study/rest/PatientRecordControllerTest.java b/src/test/java/cz/cvut/kbss/study/rest/PatientRecordControllerTest.java index 286dacdb..fe532cf9 100644 --- a/src/test/java/cz/cvut/kbss/study/rest/PatientRecordControllerTest.java +++ b/src/test/java/cz/cvut/kbss/study/rest/PatientRecordControllerTest.java @@ -325,13 +325,10 @@ void importRecordsJsonImportsSpecifiedRecordsAndReturnsImportResult() throws Exc ).andReturn(); final RecordImportResult result = readValue(mvcResult, RecordImportResult.class); - - // Assertions assertEquals(importResult.getTotalCount(), result.getTotalCount()); assertEquals(importResult.getImportedCount(), result.getImportedCount()); assertThat(importResult.getErrors(), anyOf(nullValue(), empty())); - @SuppressWarnings("unchecked") final ArgumentCaptor> captor = ArgumentCaptor.forClass(List.class); verify(patientRecordServiceMock).importRecords(captor.capture());