// A group scan locating a single hkey with its descendents is done by the Lookup operator.
// Can't test it directly here since this isn't a unit test (and we don't have access to the wrapped
// GroupCursor or GroupCursor.rebind).
use(db);
IndexBound tom = orderSalesmanIndexBound("tom");
IndexKeyRange indexKeyRange = IndexKeyRange.bounded(orderSalesmanIndexRowType, tom, true, tom, true);
Operator groupScan = indexScan_Default(orderSalesmanIndexRowType, false, indexKeyRange);
Operator lookup = branchLookup_Default(groupScan, coi, orderSalesmanIndexRowType, orderRowType, InputPreservationOption.DISCARD_INPUT );
Cursor cursor = cursor(lookup, queryContext, queryBindings);
Row[] expected = new Row[]{row(orderRowType, 21L, 2L, "tom"),
row(itemRowType, 211L, 21L),