@Test
void populate() throws PropertyException
{

    TestBean beanTest = new TestBean();
    Map<String, String> values = new HashMap<>();
    values.put("lowerprop", "lowerpropvalue");
    values.put("upperprop", "upperPropvalue");
    values.put("prop2", "42");
    values.put("prop3", "true");
    values.put("hiddenProperty", "hiddenPropertyvalue");
    values.put("publicField", "publicFieldvalue");
    values.put("genericProp", "1,2");
    this.defaultBeanManager.populate(beanTest, values);
    assertEquals("lowerpropvalue", beanTest.getLowerprop());
    assertEquals("upperPropvalue", beanTest.getUpperProp());
    assertEquals(42, beanTest.getProp2());
    assertTrue(beanTest.getProp3());
    assertNull(beanTest.getHiddenProperty());
    assertEquals("publicFieldvalue", beanTest.publicField);
    assertEquals(Arrays.asList(1, 2), beanTest.getGenericProp());
}