@Test
public void contentsOfFileShouldExcludeAnythingAfterAnUndoMarker() throws Exception {

	File file = createTemporaryFileWithContent(
			"Hello\n" +
			"There!\n" +
			"--//@UNDO\n" +
			"This is after the undo marker!\n");
	ChangeScript changeScript = new ChangeScript(5, file, "UTF-8");
	assertThat(changeScript.getContent(), is("Hello\nThere!\n"));
}