### Question:
DefaultDownloadIndex implements WritableDownloadIndex { @Override public void removeDownload(String id) throws DatabaseIOException { ensureInitialized(); try { databaseProvider.getWritableDatabase().delete(tableName, WHERE_ID_EQUALS, new String[] {id}); } catch (SQLiteException e) { throw new DatabaseIOException(e); } } DefaultDownloadIndex(DatabaseProvider databaseProvider);  DefaultDownloadIndex(DatabaseProvider databaseProvider, String name); @Override @Nullable Download getDownload(String id); @Override DownloadCursor getDownloads(@Download.State int... states); @Override void putDownload(Download download); @Override void removeDownload(String id); @Override void setDownloadingStatesToQueued(); @Override void setStopReason(int stopReason); @Override void setStopReason(String id, int stopReason);  }### Answer:
@Test public void removeDownload_nonExistingId_doesNotFail() throws DatabaseIOException { downloadIndex.removeDownload("non existing id"); }