We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e6d6ab commit 0e87964Copy full SHA for 0e87964
etc/introducing-spring-modulith.adoc
@@ -144,7 +144,7 @@ class OrderIntegrationTests {
144
145
// Find all OrderCompleted events referring to our reference order
146
var matchingMapped = events.ofType(OrderCompleted.class)
147
- .matchingMapped(OrderCompleted::getOrderId, reference.getId()::equals);
+ .matching(OrderCompleted::orderId, reference.getId());
148
149
assertThat(matchingMapped).hasSize(1);
150
}
0 commit comments