@Test(expectedExceptions=IllegalStateException.class, expectedExceptionsMessageRegExp = ".*leftover enums.*\\[aliceTheCamel\\].*leftover values.*alice_thecamel.*") public static void testAllValuesEnumeratedNoMatchBadCamel() { Enums.checkAllEnumeratedIgnoreCase(SomeENum.class, "e_300", "E_624", "WORD_UP", "alice_TheCamel"); }
public static void checkAllEnumeratedIgnoreCase(Class<? extends Enum<?>> type, String ...explicitValues) { checkAllEnumeratedIgnoreCase(JavaClassNames.simpleClassName(type), values(type), explicitValues); }
Enums { public static void checkAllEnumeratedIgnoreCase(Class<? extends Enum<?>> type, String ...explicitValues) { checkAllEnumeratedIgnoreCase(JavaClassNames.simpleClassName(type), values(type), explicitValues); } }
Enums { public static void checkAllEnumeratedIgnoreCase(Class<? extends Enum<?>> type, String ...explicitValues) { checkAllEnumeratedIgnoreCase(JavaClassNames.simpleClassName(type), values(type), explicitValues); }  }
Enums { public static void checkAllEnumeratedIgnoreCase(Class<? extends Enum<?>> type, String ...explicitValues) { checkAllEnumeratedIgnoreCase(JavaClassNames.simpleClassName(type), values(type), explicitValues); }  @Deprecated static Function<Enum<?>,String> enumValueNameFunction(); static Function<Enum<?>,String> nameFunction(); static Function<String,T> fromStringFunction(Class<T> type); static void checkAllEnumeratedIgnoreCase(Class<? extends Enum<?>> type, String ...explicitValues); static void checkAllEnumeratedIgnoreCase(String contextMessage, Enum<?>[] enumValues, String ...explicitValues); static Maybe<T> valueOfIgnoreCase(Class<T> type, String givenValue); static Maybe<T> valueOfIgnoreCase(String contextMessage, T[] enumValues, String givenValue); }
Enums { public static void checkAllEnumeratedIgnoreCase(Class<? extends Enum<?>> type, String ...explicitValues) { checkAllEnumeratedIgnoreCase(JavaClassNames.simpleClassName(type), values(type), explicitValues); }  @Deprecated static Function<Enum<?>,String> enumValueNameFunction(); static Function<Enum<?>,String> nameFunction(); static Function<String,T> fromStringFunction(Class<T> type); static void checkAllEnumeratedIgnoreCase(Class<? extends Enum<?>> type, String ...explicitValues); static void checkAllEnumeratedIgnoreCase(String contextMessage, Enum<?>[] enumValues, String ...explicitValues); static Maybe<T> valueOfIgnoreCase(Class<T> type, String givenValue); static Maybe<T> valueOfIgnoreCase(String contextMessage, T[] enumValues, String givenValue);  }