@Test
public void testBuildAttributeMapFromSimpleStringBean_shouldReturnMapThatContainsProperties() throws Exception {

    SimpleBeanWithStrings testBean = new SimpleBeanWithStrings("foo", "bar");
    Map<String, String> attributeMap = BeanUtilsExtended.buildStringAttributeMap(testBean);
    assertThat(attributeMap.get("value1"), is("foo"));
    assertThat(attributeMap.get("value2"), is("bar"));
}