Skip to content

Commit

Permalink
Merge remote-tracking branch 'local/1.3.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Jun 20, 2016
2 parents fa32ce3 + 9d194c2 commit 0b2f912
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@ public void testBindWithDelimitedPrefixUsingDifferentDelimiter() throws Exceptio
assertThat(foo.name).isEqualTo("blah");
}

@Test
public void propertyWithAllUpperCaseSuffixCanBeBound() throws Exception {
Foo foo = createFoo("foo-bar-u-r-i:baz");
assertEquals("baz", foo.fooBarURI);
}

private Foo createFoo(final String values) throws Exception {
setupFactory();
return bindFoo(values);
Expand Down Expand Up @@ -196,6 +202,8 @@ public static class Foo {

private String fooBar;

private String fooBarURI;

public String getSpringFooBaz() {
return this.spring_foo_baz;
}
Expand Down Expand Up @@ -228,6 +236,14 @@ public void setFooBar(String fooBar) {
this.fooBar = fooBar;
}

public String getFooBarURI() {
return this.fooBarURI;
}

public void setFooBarURI(String fooBarURI) {
this.fooBarURI = fooBarURI;
}

}

}

0 comments on commit 0b2f912

Please sign in to comment.