Cursor cursor = cursor(flattenCO, queryContext, queryBindings);
Row[] expected = new Row[]{
row(flattenCO.rowType(), 1L, "northbridge", 11L, 1L, "ori"),
row(flattenCO.rowType(), 1L, "northbridge", 12L, 1L, "david"),
row(flattenCO.rowType(), 2L, "foundation", 21L, 2L, "tom"),
row(flattenCO.rowType(), 2L, "foundation", 22L, 2L, "jack"),
row(flattenCO.rowType(), 4L, "highland", null, null, null),
row(flattenCA.rowType(), 4L, "highland", 41L, 4L, "560 Harrison"),
row(flattenCO.rowType(), 5L, "matrix", 51L, 5L, "yuval"),
row(flattenCO.rowType(), 6L, "nea", 61L, 6L, "mike"),
row(flattenCO.rowType(), 6L, "nea", 62L, 6L, "padraig"),