@Test
public void testCreation(
		@Mocked final FilterFactory filterFactory,
		@Mocked final SourceAdapterFactory adapterFactory,
		@Mocked final DataRepository dataRepository)
		throws Exception {

	final ProcessorChainFactory chainFactory = new ProcessorChainFactory(adapterFactory, filterFactory);
	chainFactory.createProcessorChain(chainReference, new DataSource(null, null, null, null), dataRepository);
	new Verifications() {{
		adapterFactory.createJsonSourceAdapter((DataSource) any, anyString); times = 1;
		filterFactory.createDbInsertionFilter((DataSource) any, (DataRepository) any, anyBoolean); times = 1;
		filterFactory.createNotificationFilter((DataSource) any); times = 1;
		filterFactory.createTransformationFilter((DataSource) any, simpleExtension); times = 1;
	}};
}