@Test
public void testInsertInParentIfLastIsViewGroup() {

  DummyComponentGroup root =
    new DummyComponentGroup(0, myModel, false).setChildren(
      new DummyComponent(1, myModel, true),
      new DummyComponentGroup(2, myModel, false));
  myTreePaths = buildDummyTreePathArray(root);
  DummyTree tree = new DummyTree();
  tree.collapsePath(myTreePaths[myTreePaths.length - 1]);
  NlDropInsertionPicker picker = new NlDropInsertionPicker(tree);
  NlDropInsertionPicker.Result result = picker.findInsertionPointAt(new Point(5, 25), myDragged);
  assertEquals(root, result.receiver);
  assertNull(result.nextComponent);
  assertEquals(0, result.depth);
  assertEquals(2, result.row);
}