Merge branch '3.4.x' into 3.5.x

Closes gh-47054
This commit is contained in:
Moritz Halbritter
2025-09-05 14:14:18 +02:00
@@ -83,8 +83,8 @@ public class ItemMetadataAssert extends AbstractAssert<ItemMetadataAssert, ItemM
return hasSourceType(type.getName());
}
public ItemMetadataAssert hasSourceMethod(String type) {
extracting(ItemMetadata::getSourceMethod).isEqualTo(type);
public ItemMetadataAssert hasSourceMethod(String method) {
extracting(ItemMetadata::getSourceMethod).isEqualTo(method);
return this;
}
@@ -120,7 +120,7 @@ public class ItemMetadataAssert extends AbstractAssert<ItemMetadataAssert, ItemM
}
private <T> ObjectAssert<T> extracting(Function<ItemMetadata, T> extractor) {
return super.extracting(extractor, Assertions::assertThat);
return extracting(extractor, Assertions::assertThat);
}
@Override