File tree 2 files changed +3
-3
lines changed
spring-aop/src/test/java/org/springframework/aop/framework
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ dependencies {
15
15
api(platform(" io.rsocket:rsocket-bom:1.1.4" ))
16
16
api(platform(" org.apache.groovy:groovy-bom:4.0.24" ))
17
17
api(platform(" org.apache.logging.log4j:log4j-bom:2.21.1" ))
18
- api(platform(" org.assertj:assertj-bom:3.27.0 " ))
18
+ api(platform(" org.assertj:assertj-bom:3.27.1 " ))
19
19
api(platform(" org.eclipse.jetty:jetty-bom:12.0.15" ))
20
20
api(platform(" org.eclipse.jetty.ee10:jetty-ee10-bom:12.0.15" ))
21
21
api(platform(" org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.8.1" ))
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ void targetThrowsUndeclaredCheckedException() throws DeclaredCheckedException {
99
99
assertThat (throwableSeenByInterceptor ).isSameAs (undeclaredCheckedException );
100
100
assertThat (throwableSeenByCaller )
101
101
.isInstanceOf (UndeclaredThrowableException .class )
102
- .hasCauseReference (undeclaredCheckedException );
102
+ .cause (). isSameAs (undeclaredCheckedException );
103
103
}
104
104
105
105
@ Test
@@ -147,7 +147,7 @@ void targetThrowsUndeclaredCheckedException() throws DeclaredCheckedException {
147
147
invokeProxy ();
148
148
assertThat (throwableSeenByCaller )
149
149
.isInstanceOf (UndeclaredThrowableException .class )
150
- .hasCauseReference (undeclaredCheckedException );
150
+ .cause (). isSameAs (undeclaredCheckedException );
151
151
}
152
152
153
153
@ Test
You can’t perform that action at this time.
0 commit comments