mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-05-04 05:17:15 +01:00
Polishing
This commit is contained in:
@@ -129,6 +129,7 @@ class BridgeMethodResolverTests {
|
||||
else {
|
||||
bridge = MyBar.class.getDeclaredMethod("someMethod", Object.class, Object.class);
|
||||
}
|
||||
assertThat(bridge.isBridge()).isTrue();
|
||||
|
||||
assertThat(BridgeMethodResolver.isBridgeMethodFor(bridge, bridged, MyBar.class)).as("Should be bridge method").isTrue();
|
||||
assertThat(BridgeMethodResolver.isBridgeMethodFor(bridge, other, MyBar.class)).as("Should not be bridge method").isFalse();
|
||||
|
||||
Reference in New Issue
Block a user