}
@Test
public void testLoremBasic20Against30()
{
ValidationReport testReport = testOcfPackage("/20/expanded/valid/lorem/lorem-basic/",
EPUBVersion.VERSION_3);
if (0 == testReport.getErrorCount()
|| 1 != testReport.getWarningCount())
{
outWriter.println(testReport);
}
assertTrue(testReport.getErrorCount() > 0);
List<MessageId> warnings = new ArrayList<MessageId>();
Collections.addAll(warnings, MessageId.PKG_001);
assertEquals(warnings, testReport.getWarningIds());
assertTrue(testReport.hasInfoMessage("[format version] 2.0"));
assertTrue(testReport.hasInfoMessage("[unique identifier] urn:uuid:550e8400-e29b-41d4-a716-4466674412314"));
}