File expectedResults = new File(outputPath + "/InputStream_Expected.txt");
FileOutputStream outputStream = new FileOutputStream(actualResults);
PrintWriter out = new PrintWriter(outputStream);
FileInputStream epubStream = new FileInputStream(epub);
Report report = new WriterReportImpl(out, "Testing 123");
EpubCheck check = new EpubCheck(epubStream, report, epub.getPath());
Assert.assertEquals("The file should have generated errors.", 2, 2 & check.doValidate());
out.flush();
outputStream.close();
out.close();