Skip to content

Commit

Permalink
[Upd] Suppress warning of unchecked method invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
blcham committed Jun 6, 2024
1 parent a2a8a3f commit a33dde4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ void importRecordsImportsSpecifiedRecordsAndReturnsImportResult() throws Excepti
assertEquals(importResult.getTotalCount(), result.getTotalCount());
assertEquals(importResult.getImportedCount(), result.getImportedCount());
assertThat(importResult.getErrors(), anyOf(nullValue(), empty()));
@SuppressWarnings("unchecked")
final ArgumentCaptor<List<PatientRecord>> captor = ArgumentCaptor.forClass(List.class);
verify(patientRecordServiceMock).importRecords(captor.capture());
assertEquals(records.size(), captor.getValue().size());
Expand Down

0 comments on commit a33dde4

Please sign in to comment.