diff --git a/springwolf-core/src/test/java/io/github/springwolf/core/asyncapi/scanners/operations/OperationsInClassScannerAdapterTest.java b/springwolf-core/src/test/java/io/github/springwolf/core/asyncapi/scanners/operations/OperationsInClassScannerAdapterTest.java index 87bc0b0e7..939d5fe42 100644 --- a/springwolf-core/src/test/java/io/github/springwolf/core/asyncapi/scanners/operations/OperationsInClassScannerAdapterTest.java +++ b/springwolf-core/src/test/java/io/github/springwolf/core/asyncapi/scanners/operations/OperationsInClassScannerAdapterTest.java @@ -43,7 +43,8 @@ void processClassTest() { Map operations = operationsInClassScannerAdapter.scan(); // then - assertThat(operations).containsExactlyEntriesOf(Map.of("operation1", operation1, "operation2", operation2)); + assertThat(operations) + .containsExactlyInAnyOrderEntriesOf(Map.of("operation1", operation1, "operation2", operation2)); } @Test