Bug 24442 ASTRewrite: Can't nest swaps
see TextBufferTest.testSwap2InSwap1
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/TextBufferTest.java
result.addTestSuite(THIS);
				result.addTestSuite(THIS);
				result.addTestSuite(THIS);
				result.addTestSuite(THIS);
			}
			return result;
		} else {
			TestSuite suite= new TestSuite();
			suite.addTest(new TextBufferTest("testSwap1"));
			suite.addTest(new TextBufferTest("testSwap2"));
			suite.addTest(new TextBufferTest("testSwapInSwap"));
			return suite;
		}	
	}
	
	protected void setUp() throws Exception {
		fBuffer= TextBuffer.create("0123456789");
		fEditor= new TextBufferEditor(fBuffer);
	}
	
	protected void tearDown() throws Exception {
		fEditor= null;
	}
	
	public void testOverlap1() throws Exception {
		
		fEditor.add(SimpleTextEdit.createReplace(0, 2, "01"));
		fEditor.add(SimpleTextEdit.createReplace(1, 2, "12"));
		assertFalse(fEditor.canPerformEdits());
	}