### Question:
AnnotationExtractor { static public <E extends Enum<?>> String getBaseName(Class<E> enumClass) { BaseName rbnAnnotation = (BaseName) enumClass.getAnnotation(BaseName.class); if (rbnAnnotation == null) { return null; } return rbnAnnotation.value(); }  static String getBaseName(Class<E> enumClass); static String[] getLocaleNames(Class<E> enumClass); static Locale[] getLocaleData(Class<E> enumClass); static String getCharset(Class<?> enumClass,
      java.util.Locale juLocale);  }### Answer:
@Test public void resourcceBundleName() { String result = AnnotationExtractor.getBaseName(Fruit.class); assertEquals("fruits", result); }