### Question:
MessageKeyVerifier implements IMessageKeyVerifier { public List<Cal10nError> verifyAllLocales() { List<Cal10nError> errorList = new ArrayList<Cal10nError>(); String[] localeNameArray = getLocaleNames(); if (localeNameArray == null || localeNameArray.length == 0) { String errMsg = MessageFormat.format(Cal10nConstants.MISSING_LD_ANNOTATION_MESSAGE, enumTypeAsStr); throw new IllegalStateException(errMsg); } for (String localeName : localeNameArray) { Locale locale = MiscUtil.toLocale(localeName); System.out.println(locale); List<Cal10nError> tmpList = verify(locale); errorList.addAll(tmpList); } return errorList; } MessageKeyVerifier(Class<? extends Enum<?>> enumClass); @SuppressWarnings("unchecked")  MessageKeyVerifier(String enumTypeAsStr); Class<? extends Enum<?>> getEnumType(); String getEnumTypeAsStr(); List<Cal10nError> verify(Locale locale); List<String> typeIsolatedVerify(Locale locale); List<Cal10nError> verifyAllLocales(); String[] getLocaleNames(); String getBaseName();  }### Answer:
@Test public void all() { IMessageKeyVerifier mcv = new MessageKeyVerifier(Minimal.class); try { mcv.verifyAllLocales(); fail("an emum without LocaleData cannot be verifiied in one step"); } catch (IllegalStateException e) { } }