String expectedOutputPath = inputPath + "/wrong_extension_expected_results.json";
inputPath += "/wrong_extension.zip";
CheckingReport report = new CheckingReport(inputPath, outputPath);
report.initialize();
File inputEpub = new File(inputPath);
EpubCheck check = new EpubCheck(inputEpub, report);
org.junit.Assert.assertEquals("The file should have generated warnings.", 1, check.doValidate());
report.generate();
File actualOutput = new File(outputPath);
Assert.assertTrue("Output file is missing.", actualOutput.exists());
File expectedOutput = new File(expectedOutputPath);
Assert.assertTrue("Expected output file is missing.", expectedOutput.exists());