@Test
public void testTwoColumns() {

    DataSetLookup lookup = TWO_COLUMNS_GROUPED.newDataSetLookup(METADATA);
    assertEquals(lookup.getDataSetUUID(), "test");
    List<DataSetOp> opList = lookup.getOperationList();
    assertEquals(opList.size(), 1);
    List<DataSetGroup> groupList = lookup.getOperationList(DataSetGroup.class);
    assertEquals(groupList.size(), 1);
    DataSetGroup groupOp = groupList.get(0);
    assertNotNull(groupOp);
    assertEquals(groupOp.getGroupFunctions().size(), 2);
    ColumnGroup cg = groupOp.getColumnGroup();
    assertNotNull(groupOp);
    assertEquals(cg.getSourceId(), OFFICE);
    assertEquals(cg.getColumnId(), OFFICE);
    assertEquals(cg.getStrategy(), GroupStrategy.DYNAMIC);
    GroupFunction gf1 = groupOp.getGroupFunction(OFFICE);
    assertNotNull(gf1);
    assertNull(gf1.getFunction());
    assertEquals(gf1.getSourceId(), OFFICE);
    assertEquals(gf1.getColumnId(), OFFICE);
    GroupFunction gf2 = groupOp.getGroupFunction(AMOUNT);
    assertNotNull(gf2);
    assertNotNull(gf2.getFunction());
    assertEquals(gf2.getSourceId(), AMOUNT);
    assertEquals(gf2.getColumnId(), AMOUNT);
}