@Test
public void testGetCategoryOptions()
{

    DataQueryParams params = DataQueryParams.newBuilder()
        .withPeriods( Lists.newArrayList( peA, peB ) )
        .withOrganisationUnits( Lists.newArrayList( ouA, ouB ) )
        .withCategory( caA )
        .build();
    Set<DimensionalItemObject> expected = Sets.newHashSet( coA, coB );
    assertEquals( expected, params.getCategoryOptions() );
}