@Test
public void testGenerateSimpleAttributeForParameterizedGetterMethod() throws Exception {

    Class<? extends SimpleAttribute<PojoWithParameterizedGetter, String>> attributeClass = generateSimpleAttributeForParameterizedGetter(PojoWithParameterizedGetter.class, String.class, "getFoo", "baz", "foo");
    SimpleAttribute<PojoWithParameterizedGetter, String> attribute = attributeClass.newInstance();
    validateAttribute(attribute, PojoWithParameterizedGetter.class, String.class, "foo", new PojoWithParameterizedGetter(), asList("bar_baz"));
}