Bug 24442 ASTRewrite: Can't nest swaps
see TextBufferTest.testSwap2InSwap1
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/TextBufferTest.java
assertTrue(message, status.isOK());
	}	
	
	private void assertFalse(IStatus status) {
		assertTrue(!status.isOK());
	}	
	
	private void assertFalse(String message, IStatus status) {
		assertTrue(message, !status.isOK());
	}
	
	public void testSwap1() throws Exception {
		TextBuffer buffer= TextBuffer.create("foo(1, 2), 3");
		TextBufferEditor editor= new TextBufferEditor(buffer);		
		
		MultiTextEdit root= new MultiTextEdit();
		{
			CopySourceEdit innerRoot= new CopySourceEdit(0, 9);
			
			SimpleTextEdit e1= SimpleTextEdit.createReplace(0, 9, "");
			e1.add(innerRoot);
			CopyTargetEdit t1= new CopyTargetEdit(11, innerRoot);
			
			SimpleTextEdit e2= SimpleTextEdit.createReplace(11, 1, "");
			CopySourceEdit s2= new CopySourceEdit(11, 1);
			e2.add(s2);
			CopyTargetEdit t2= new CopyTargetEdit(0, s2);
			root.add(e1);
			root.add(t2);
			root.add(e2);