@Test public void bindingSimpleInteger() { addKeys("foo.port=7070"); bind("foo"); assertEquals(7070, getTarget().getPort()); }
@Test public void bindingWithNonPublicSetter() { getTarget().setId("test"); addKeys("foo.id=abc"); bind("foo"); assertEquals("should not have changed", "test", getTarget().getId()); }