You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-webflux/src/test/kotlin/org/springframework/web/reactive/result/InvocableHandlerMethodKotlinTests.kt
+23-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2023 the original author or authors.
2
+
* Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -249,6 +249,15 @@ class InvocableHandlerMethodKotlinTests {
249
249
assertHandlerResultValue(result, "foo-20")
250
250
}
251
251
252
+
@Test
253
+
fungenericParameter() {
254
+
val horse =Animal("horse")
255
+
this.resolvers.add(stubResolver(horse))
256
+
val method =AnimalController::handle.javaMethod!!
257
+
val result = invoke(AnimalController(), method, null)
0 commit comments