void () { setGridSize(2, 2); // * . // // . * insertComponent(0, 0, 1, 1); insertComponent(1, 1, 1, 1); setComponentDimensions(myDropComponent, 0, 0, 2, 2); GridInsertLocation location = new GridInsertLocation(myContainer, 1, 0, GridInsertMode.RowAfter); DraggedComponentList dcl = DraggedComponentList.withComponents(myDropComponent); assertTrue(location.canDrop(dcl)); doDrop(location); assertEquals(3, myManager.getGridRowCount(myContainer)); final RadComponent addedComponent = myContainer.getComponents()[2]; assertEquals(1, addedComponent.getConstraints().getRowSpan()); assertEquals(1, addedComponent.getConstraints().getColSpan()); }