InsertEdit insertEdit = modell.insert(new KeyValuePair("key", "value1\nvalue2")); assertEquals("key=value1\\nvalue2\n", insertEdit.getText());
InsertEdit insertEdit = modell.insert(new KeyValuePair("key", "value1\nvalue2\r")); assertEquals("key=value1\\nvalue2\\r\n", insertEdit.getText());
    public void testEscapingOfLineBreaks() {    	PropertyFileDocumentModell modell =     		new PropertyFileDocumentModell(new Document());    	InsertEdit insertEdit = modell.insert(new KeyValuePair("key", "value1\nvalue2"));    	assertEquals("key=value1\\nvalue2\n", insertEdit.getText());    	    }