assertEquals("Document is unreadable", ReadableArchiveAnalyser.UNREADABLE_ARCHIVE_VALUE,
analyser.toObject(document));
}
public void testReadableArchiveToObject() throws Exception {
MockArchiveDocument document = new MockArchiveDocument("whatever", new MockDocumentCollection());
assertEquals("Document is readable", ReadableArchiveAnalyser.READABLE_ARCHIVE_VALUE,
analyser.toObject(document));
}