@Test
void populateWhenMissingMandatoryProperty()
{

    Throwable exception = assertThrows(PropertyMandatoryException.class,
        () -> this.defaultBeanManager.populate(new TestBean(), new HashMap<String, String>()));
    assertEquals("Property [prop2] mandatory", exception.getMessage());
}