void () { final List<RunnerAndConfigurationSettings> configurations = new ArrayList<>(); final RunManager instance = RunManager.getInstance(getProject()); final MultiFactoryLocalTestConfigurationFactory factory = MultiFactoryLocalTestConfigurationFactory.INSTANCE; configurations.add(createByFactory(instance, factory, 1, false, false, false, true)); final Set<TestUsageDescriptor> expected = new HashSet<>(); expected.add(new TestUsageDescriptor( "configured.in.project", 1, create("MultiFactoryTestRunConfigurationType", false, false, false, true).addData("factory", "Local")) ); expected.add(createTotalCountUsageDescriptor(1, 0)); doTest(configurations, expected, true); }