### Question:
DataSourceManager implements Managed { @Override public void stop() { processorChainManager.stopAllProcessorChains(); } @Inject  DataSourceManager(
			DataSourceRepository dataSourceRepository,
			Cache<DataRepository> dataRepositoryCache,
			DbConnectorFactory dbConnectorFactory,
			RepositoryFactory repositoryFactory,
			ProcessorChainManager processorChainManager,
			DataViewManager dataViewManager,
			NotificationManager notificationManager); void add(DataSource source); void remove(DataSource source); List<DataSource> getAll(); DataSource findBySourceId(String sourceId); DataRepository getDataRepository(DataSource source); boolean isValidSourceId(String sourceId); @Override void start(); @Override void stop();  }### Answer:
@Test public void testStop() { sourceManager.stop(); new Verifications() {{ processorChainManager.stopAllProcessorChains(); }}; }