File tree 2 files changed +4
-4
lines changed
spring-aop/src/test/java/org/springframework/aop/framework
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ 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:3.0.0-beta3" ))
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.9.0" ))
22
22
api(platform(" org.jetbrains.kotlinx:kotlinx-serialization-bom:1.7.3" ))
23
23
api(platform(" org.junit:junit-bom:5.11.4" ))
24
- api(platform(" org.mockito:mockito-bom:5.14 .2" ))
24
+ api(platform(" org.mockito:mockito-bom:5.15 .2" ))
25
25
26
26
constraints {
27
27
api(" com.fasterxml:aalto-xml:1.3.2" )
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ void targetThrowsUndeclaredCheckedException() throws DeclaredCheckedException {
97
97
assertThat (throwableSeenByInterceptor ).isSameAs (undeclaredCheckedException );
98
98
assertThat (throwableSeenByCaller )
99
99
.isInstanceOf (UndeclaredThrowableException .class )
100
- .hasCauseReference (undeclaredCheckedException );
100
+ .cause (). isSameAs (undeclaredCheckedException );
101
101
}
102
102
103
103
@ Test
@@ -145,7 +145,7 @@ void targetThrowsUndeclaredCheckedException() throws DeclaredCheckedException {
145
145
invokeProxy ();
146
146
assertThat (throwableSeenByCaller )
147
147
.isInstanceOf (UndeclaredThrowableException .class )
148
- .hasCauseReference (undeclaredCheckedException );
148
+ .cause (). isSameAs (undeclaredCheckedException );
149
149
}
150
150
151
151
@ Test
You can’t perform that action at this time.
0 commit comments