Exemplo n.º 1
0
 protected void assertValue(
     Reflection reflection, Object target, Property property, Object expectedValue)
     throws Exception {
   Object actual = reflection.getProperty(target, property);
   assertThat(actual, is(expectedValue));
   assertThat(reflection.getPropertyAsString(target, property), is(notNullValue()));
 }