@Test
public void testAddWarnLevelInfoMsg() {

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