@Test
public void testGetDimensionalItemObjectMap()
{

    DataElement deA = createDataElement( 'A' );
    Indicator inA = createIndicator( 'A', null );
    DataSet dsA = createDataSet( 'A' );
    DimensionalObject dx = new BaseDimensionalObject( DimensionalObject.DATA_X_DIM_ID, DimensionType.DATA_X, DimensionalObjectUtils.getList( deA, inA, dsA ) );
    DataQueryParams params = DataQueryParams.newBuilder()
        .addDimension( dx )
        .withDisplayProperty( DisplayProperty.NAME )
        .build();
    Map<String, DimensionalItemObject> map = AnalyticsUtils.getDimensionalItemObjectMap( params );
    assertEquals( map.get( deA.getDimensionItem() ), deA );
    assertEquals( map.get( inA.getDimensionItem() ), inA );
    assertEquals( map.get( dsA.getDimensionItem() ), dsA );
}