@Test
@SuppressWarnings("unchecked")
public void testCreateAttributesForGetterMethods_HumanReadable() {

    AnotherPojoWithGetter pojo = new AnotherPojoWithGetter();
    Map<String, ? extends Attribute<AnotherPojoWithGetter, ?>> attributes = AttributeBytecodeGenerator.createAttributes(AnotherPojoWithGetter.class, MemberFilters.GETTER_METHODS_ONLY, AttributeNameProducers.USE_HUMAN_READABLE_NAMES_FOR_GETTERS);
    assertEquals(1, attributes.size());
    validateAttribute(((Attribute<AnotherPojoWithGetter, Integer>)attributes.get("bar")), AnotherPojoWithGetter.class, Integer.class, "bar", pojo, Collections.singletonList(1));
}