DownloadBatchStatusNotificationDispatcher { void setDownloadService(DownloadService downloadService) { notificationDispatcher.setService(downloadService); } DownloadBatchStatusNotificationDispatcher(DownloadsNotificationSeenPersistence notificationSeenPersistence,
                                              ServiceNotificationDispatcher<DownloadBatchStatus> notificationDispatcher,
                                              Set<String> downloadBatchIdNotificationSeen);   }
@Test public void setsDownloadServiceOnNotificationDispatcher() { DownloadService downloadService = mock(LiteDownloadService.class); downloadBatchStatusNotificationDispatcher.setDownloadService(downloadService); verify(notificationDispatcher).setService(downloadService); }