// TODO Needs redesign as data source is deployed to kie server @Ignore public void procInstancesPreprocessorTest() { DataSetLookup lookup = DataSetLookupFactory.newDataSetLookupBuilder() .dataset(PROCESS_INSTANCE_DATASET) .buildLookup(); dataSetManager.lookupDataSet(lookup); ArgumentCaptor<DataSetLookup> argument = ArgumentCaptor.forClass(DataSetLookup.class); // verify(deploymentIdsPreprocessor).preprocess(lookup); verify(dataSetManager).lookupDataSet(argument.capture()); assertEquals( argument.getValue(), DataSetLookupFactory.newDataSetLookupBuilder() .dataset(PROCESS_INSTANCE_DATASET) .filter(in(COLUMN_EXTERNAL_ID, deploymentIds)) .buildLookup()); }