Skip to content

Commit

Permalink
test(core): assert for any list order
Browse files Browse the repository at this point in the history
  • Loading branch information
timonback committed Dec 14, 2024
1 parent 6666bb9 commit 123fe16
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ void processClassTest() {
Map<String, Operation> operations = operationsInClassScannerAdapter.scan();

// then
assertThat(operations).containsExactlyEntriesOf(Map.of("operation1", operation1, "operation2", operation2));
assertThat(operations)
.containsExactlyInAnyOrderEntriesOf(Map.of("operation1", operation1, "operation2", operation2));
}

@Test
Expand Down

0 comments on commit 123fe16

Please sign in to comment.