@Test
public void verifyGetAggregateClauseWithValue()
{

    DimensionalItemObject dio = new BaseDimensionalItemObject( dataElementA.getUid() );
    EventQueryParams params = new EventQueryParams.Builder( createRequestParams() )
        .withValue( dio )
        .withAggregationType( AnalyticsAggregationType.SUM )
        .build();
    String clause = subject.getAggregateClause( params );
    assertThat( clause, is( "sum(ax.\"fWIAEtYVEGk\")" ) );
}