@Test
public void verifyQueryGeneratedWhenDataElementHasLastAvgOrgUnitAggregationType()
{

    DataQueryParams params = createParams( AggregationType.LAST_AVERAGE_ORG_UNIT );
    subject.getAggregatedDataValues( params, AnalyticsTableType.DATA_VALUE, 20000 );
    assertExpectedSql( "desc" );
}