void () { setGridSize(2, 1); insertComponent(0, 0, 1, 1); final RadComponent c = insertComponent(1, 0, 1, 1); GridInsertLocation location = new GridInsertLocation(myContainer, 1, 0, GridInsertMode.RowBefore); DraggedComponentList dcl = DraggedComponentList.withComponents(myDropComponent); assertTrue(location.canDrop(dcl)); doDrop(location); assertEquals(2, c.getConstraints().getRow()); }