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