FieldNameMap { public static FieldNameMap toMap(Class<?> clazz) { return toMap(clazz, false, false); }  boolean hasName(String key); String get(Object index); String put(String value); int size(); Set<String> keySet(); Collection<String> values(); static FieldNameMap toMap(Class<?> clazz); static FieldNameMap toMap(Class<?> clazz, boolean toLower, boolean includeFirstSuperClass);  }
@Test public void testToMap() { FieldNameMap names = FieldNameMap.toMap(FieldNameMapTest.class); assertThat(names.hasName(FIELD_1), is(true)); }