From 765b66c5998ef8148dc1da3ab737a62cab554e19 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Wed, 29 May 2019 21:12:57 +0900 Subject: [PATCH] Add a missing @Test in JavaBeanBinderTests See gh-17002 --- .../boot/context/properties/bind/JavaBeanBinderTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/JavaBeanBinderTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/JavaBeanBinderTests.java index 4055e28373c..e8739986336 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/JavaBeanBinderTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/JavaBeanBinderTests.java @@ -511,6 +511,7 @@ public class JavaBeanBinderTests { assertThat(bean.getBooleans().get("b").getValue()).isEqualTo(true); } + @Test public void bindToClassWithOverloadedSetterShouldUseSetterThatMatchesField() { // gh-16206 MockConfigurationPropertySource source = new MockConfigurationPropertySource(); @@ -522,9 +523,8 @@ public class JavaBeanBinderTests { } @Test - public void beanProperiesPreferMatchingType() { + public void beanPropertiesPreferMatchingType() { // gh-16206 - ResolvableType type = ResolvableType.forClass(PropertyWithOverloadedSetter.class); Bean bean = new Bean( type, type.resolve()) {