@Test
public void testAddErrorLevelInfoMsg() {

  final ValidationReport report = new ValidationReport();
  final String msg = "test error level error message.";
  report.addErrorLevelInfoMsg(msg);
  for (final String info : report.getInfoMsgs()) {
    assertEquals("Info message added through addErrorLevelInfoMsg should have level set to ERROR",
        ValidationReport.getInfoMsgLevel(info), ValidationStatus.ERROR);
    assertEquals("Retrieved info message does not match the original one.",
        ValidationReport.getInfoMsg(info), msg);
  }
}