InputStream is = this.getClass().getResourceAsStream("/page" + (i + 1) + ".xml");
pages[i] = pageReader.read(is, site);
}
// Prepare the sample file
FileResourceReader fileReader = new FileResourceReader();
InputStream fileIs = this.getClass().getResourceAsStream("/file.xml");
file = fileReader.read(fileIs, site);
IOUtils.closeQuietly(fileIs);
// Prepare the sample image
ImageResourceReader imageReader = new ImageResourceReader();
InputStream imageIs = this.getClass().getResourceAsStream("/image.xml");