@Test
public void testValidation() throws Exception {

  validationFailExpected(null, "Null message");
  LocaleMessage msg = new LocaleMessage();
  msg.setSystemId(SYSTEM_ID_KEY); // set by the system on the way to
                                  // processing
  validationFailExpected(msg, "No lang or country codes");
  msg.setCountryCode(FRANCE_CODE);
  validationFailExpected(msg, "No lang code");
  msg.setLanguageCode(FRENCH_CODE);
  processor.validate(msg);
}