@Test
public void persistOfflineMapTaskShouldReturnTrueWhenGivenValidDownloadTask() throws NoSuchFieldException, IllegalAccessException {

    Intent sampleServiceIntent = createMapboxOfflineDownloaderServiceIntent();
    sampleServiceIntent = createSampleDownloadIntent(sampleServiceIntent);
    insertValueInPrivateField(mapboxOfflineDownloaderService, "realmDatabase", RealmDatabase.init(context));
    assertEquals(true, mapboxOfflineDownloaderService.persistOfflineMapTask(sampleServiceIntent));
}