Enums { public static String getFriendlyNameOf(Enum<?> anEnum) { return getFriendlyNameOf(anEnum.name()); }  static String getFriendlyNameOf(Enum<?> anEnum); static String getFriendlyNameOf(String anEnumName); static String getEnumNameFromFriendly(String anEnumFriendlyName); static String enumToHttpHeader(final Enum<?> anEnum); static String enumNameToHttpHeader(final String name); static String enumToCamelCase(final Enum<?> anEnum);  }
@Test public void getFriendlyNameOf() { assertThat(Enums.getFriendlyNameOf(Where.ANYWHERE), is("Anywhere")); assertThat(Enums.getFriendlyNameOf(Where.ALL_TABLES), is("All Tables")); }