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-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/ValueObjectBinderTests.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/context/properties/bind/KotlinConstructorParametersBinderTests.kt
+13-3
Original file line number
Diff line number
Diff line change
@@ -179,10 +179,18 @@ class KotlinConstructorParametersBinderTests {
179
179
}
180
180
181
181
@Test
182
-
fun`Bind to named constructor parameter`() {
182
+
fun`Bind to named data class constructor parameter`() {
183
183
val source =MockConfigurationPropertySource("foo.string-value", "test")
184
184
val binder =Binder(source)
185
-
val bean = binder.bind("foo", Bindable.of(ExampleNamedParameterBean::class.java)).get()
185
+
val bean = binder.bind("foo", Bindable.of(ExampleNamedParameterDataClass::class.java)).get()
0 commit comments