List<TestDiscoveryConfigurationProducer> (@NotNull Project project) { return RunConfigurationProducer.getProducers(project) .stream() .filter(producer -> producer instanceof TestDiscoveryConfigurationProducer) .map(producer -> (TestDiscoveryConfigurationProducer)producer) .collect(Collectors.toList()); }