@Test
public void testGetAllDataSets()
{

    DataQueryParams params = DataQueryParams.newBuilder()
        .withPeriods( Lists.newArrayList( peA, peB ) )
        .withOrganisationUnits( Lists.newArrayList( ouA, ouB ) )
        .withReportingRates( Lists.newArrayList( rrA, rrB, rrC ) )
        .build();
    Set<DimensionalItemObject> expected = Sets.newHashSet( dsA, dsB, dsC );
    assertEquals( expected, params.getAllDataSets() );
}