public void createProcessor(final QueryData queryData) {
        Processor processor = new Processor();
        processor.setPipelineUuid(UUID.randomUUID().toString());
        processor.setEnabled(true);
        processor = streamProcessorService.create(processor);
        processorFilterService.create(processor,
                CreateProcessFilterRequest
                        .builder()
                        .queryData(queryData)
                        .priority(1)
                        .build());
    }
Help class to create some basic scenarios for testing.
stroom-app/src/test/java/stroom/test/CommonTestScenarioCreator.java