@Test
public void testPasswordProtected() throws Exception {

	FileParser parser = new OpenOfficeWriterParser();
	File file = TestFiles.encrypted_odt.get();
	try {
		parser.parse(file, new ParseContext(file.getName()));
	}
	catch (ParseException e) {
		if (e.getMessage().equals(Msg.doc_pw_protected.get())) {
			return;
		}
	}
	throw new IllegalStateException();
}