Bug 23362 DOM: incorrect length for InfixExpression.
Latest Head 2002/09/10. package test1; public class E { public void foo() { i= (1 + 2) * 3; } } The infix expression for "1 + 2" has a length of 3. It should be 5.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/astrewrite/ASTRewritingExpressionsTest.java
rewrite.markAsRemoved((ASTNode) expressions.get(2));
		}
		{	
			ArrayCreation arrayCreation= (ArrayCreation) args.get(1);
			ArrayInitializer initializer= arrayCreation.getInitializer();
			
			List expressions= initializer.expressions();
			assertTrue("Number of initializer expressions not 3", expressions.size() == 3);
			NumberLiteral literal1= ast.newNumberLiteral("10");
			expressions.add(1, literal1);
			rewrite.markAsInserted(literal1);
			
			NumberLiteral literal2= ast.newNumberLiteral("11");
			expressions.add(literal2);
			rewrite.markAsInserted(literal2);
		}		
		{	
			ArrayCreation arrayCreation= (ArrayCreation) args.get(2);
			ArrayInitializer initializer= arrayCreation.getInitializer();
			
			List expressions= initializer.expressions();
			assertTrue("Number of initializer expressions not 3", expressions.size() == 3);
			NumberLiteral literal1= ast.newNumberLiteral("10");
			NumberLiteral literal2= ast.newNumberLiteral("11");
			
			rewrite.markAsReplaced((ASTNode) expressions.get(0), literal1);
			rewrite.markAsReplaced((ASTNode) expressions.get(2), literal2);
		}		
				
		ASTRewriteCorrectionProposal proposal= new ASTRewriteCorrectionProposal("", cu, rewrite, 10, null);