boolean foundWebHome = false;
boolean foundResources = false;
// We must read the full stream as otherwise if we close it before we've fully read it
// then the server side will get a broken pipe since it's still trying to send data on it.
for (ZipEntry entry; (entry = zis.getNextEntry()) != null; zis.closeEntry()) {
if (entry.getName().equals("xwiki.Main.WebHome.html")) {
String content = IOUtils.toString(zis);
// Verify that the content was rendered properly
assertTrue("Should have contained 'Welcome to your wiki'", content.contains("Welcome to your wiki"));