void () { setGridSize(2, 1); insertComponent(0, 0, 2, 1); GridInsertLocation location = new GridInsertLocation(myContainer, 0, 0, GridInsertMode.RowAfter); DraggedComponentList dcl = DraggedComponentList.withComponents(myDropComponent); assertFalse(location.canDrop(dcl)); }