Commit 0b5bb6eb authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #17002 from Johnny Lim

* gh-17002:
  Add a missing @Test in JavaBeanBinderTests

Closes gh-17002
parents 6b199c84 765b66c5
......@@ -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<PropertyWithOverloadedSetter> bean = new Bean<PropertyWithOverloadedSetter>(
type, type.resolve()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment