void () { setGridSize(4, 4); // * . . . // . . . . // . . . . // . . . * insertComponent(0, 0, 1, 1); insertComponent(3, 3, 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(6, myManager.getGridRowCount(myContainer)); final RadComponent addedComponent = myContainer.getComponents()[2]; assertEquals(2, addedComponent.getConstraints().getRowSpan()); assertEquals(2, addedComponent.getConstraints().getColSpan()); }