@Test
public void verifyQueryGeneratedWhenDataElementHasLastInPeriodAggregationType()
{

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