@Test
public void mapboxTileLimitExceededShouldCreateValidBroadcast() throws InterruptedException, NoSuchFieldException, IllegalAccessException {

    latch = new CountDownLatch(1);
    registerLocalBroadcastReceiverForDownloadServiceUpdates();
    setMapNameAndDownloadAction(mapName, MapboxOfflineDownloaderService.SERVICE_ACTION.DOWNLOAD_MAP);
    mapboxOfflineDownloaderService.mapboxTileCountLimitExceeded(60000);
    latch.await();
    Intent intent = (Intent) resultsToCheck.get(0);
    assertBroadcastResults(intent, MapboxOfflineDownloaderService.SERVICE_ACTION_RESULT.FAILED, mapName, "MapBox Tile Count limit exceeded 60000 while Downloading " + mapName, MapboxOfflineDownloaderService.SERVICE_ACTION.DOWNLOAD_MAP);
}