void () { myManager.insertGridCells(myContainer, 0, false, false, true); myManager.insertGridCells(myContainer, 0, false, false, true); final ConstantSize colSize1 = new ConstantSize(17, ConstantSize.MM); final ConstantSize colSize2 = new ConstantSize(19, ConstantSize.MM); myLayout.setColumnSpec(1, new ColumnSpec(colSize1)); myLayout.setColumnSpec(3, new ColumnSpec(colSize2)); RadComponent c1 = newComponent(0, 0, 1, 1); myContainer.addComponent(c1); RadComponent c2 = newComponent(0, 2, 1, 1); myContainer.addComponent(c2); myManager.processCellsMoved(myContainer, false, new int[] { 0, 2 }, 5); assertEquals(colSize1, myLayout.getColumnSpec(3).getSize()); assertEquals(colSize2, myLayout.getColumnSpec(5).getSize()); assertEquals(3, myLayout.getConstraints(c1.getDelegee()).gridX); assertEquals(5, myLayout.getConstraints(c2.getDelegee()).gridX); }