@Test(expected=IllegalArgumentException.class)
public void testGetLatestAnalyticsTableNoFullTableUpdate()
{

    Date lastLatestPartitionUpdate = new DateTime( 2019, 3, 1, 9, 0 ).toDate();
    Date startTime = new DateTime( 2019, 3, 1, 10, 0 ).toDate();
    AnalyticsTableUpdateParams params = AnalyticsTableUpdateParams.newBuilder()
        .withStartTime( startTime )
        .withLatestPartition()
        .build();
    when( systemSettingManager.getSystemSetting( SettingKey.LAST_SUCCESSFUL_ANALYTICS_TABLES_UPDATE ) ).thenReturn( null );
    when( systemSettingManager.getSystemSetting( SettingKey.LAST_SUCCESSFUL_LATEST_ANALYTICS_PARTITION_UPDATE ) ).thenReturn( lastLatestPartitionUpdate );
    subject.getAnalyticsTables( params );
}