@Test
public void updateWithNonWordDocument() throws IOException {

	WordTemplate<String> template = createWordTemplate(EMPTY_WORD);
	User editor = template.getEditor();
	try {
		updateContent(template, new User("user", "user"), TEST_TEXTFILE);
		fail("Exception expected");
	} catch (WteException e) {
		checkUpdateContent(template, editor, EMPTY_WORD);
	}
}