@Test
public void testStart() {

	new Expectations() {{
		sourceRepository.getAll();
		result = Arrays.asList(dataSource);
		repositoryFactory.createSourceDataRepository(SOURCE_ID, (JsonPointer) any);
		result = dataRepository;
	}};
	sourceManager.start();
	new Verifications() {{
		Map<DataSource, DataRepository> sources;
		processorChainManager.startAllProcessorChains(sources = withCapture());
		Assert.assertTrue(sources.containsKey(dataSource));
	}};
}