public void testInsertIntoDoc() { String props = "org.eclipse.1=value\n" + "org.eclipse.3=value\n"; PropertyFileDocumentModell modell = new PropertyFileDocumentModell(new Document(props));
public void testInsertIntoDoc() throws Exception { Document props = new Document( "org.eclipse.nls.1=value\n" + "org.eclipse=value\n"); PropertyFileDocumentModell modell = new PropertyFileDocumentModell(props);
    public void testInsertIntoDoc() {        String props =             "org.eclipse.1=value\n" +            "org.eclipse.3=value\n";        PropertyFileDocumentModell modell = new PropertyFileDocumentModell(new Document(props));                InsertEdit insertEdit = modell.insert("org.eclipse.2", "value");                assertEquals("org.eclipse.2=value\n", insertEdit.getText());        assertEquals(20, insertEdit.getOffset());    }