void () { final List<RunnerAndConfigurationSettings> configurations = new ArrayList<>(); final RunManager instance = RunManager.getInstance(getProject()); configurations.add(createFirst(instance, 1, true, false, false, false)); configurations.add(createFirst(instance, 2, false, false, false, false)); configurations.add(createFirst(instance, 3, true, true, false, false)); configurations.add(createFirst(instance, 4, true, true, false, false)); configurations.add(createFirst(instance, 5, true, true, true, true)); configurations.add(createSecond(instance, 6, true, false, false, false)); configurations.add(createSecond(instance, 7, false, false, true, false)); configurations.add(createSecond(instance, 8, false, false, true, false)); configurations.add(createSecond(instance, 9, false, false, false, false)); final Set<TestUsageDescriptor> expected = new HashSet<>(); expected.add(new TestUsageDescriptor( "configured.in.project", 1, create("FirstTestRunConfigurationType", true, false, false, false)) ); expected.add(new TestUsageDescriptor( "configured.in.project", 1, create("FirstTestRunConfigurationType", false, false, false, false)) ); expected.add(new TestUsageDescriptor( "configured.in.project", 2, create("FirstTestRunConfigurationType", true, true, false, false)) ); expected.add(new TestUsageDescriptor( "configured.in.project", 1, create("FirstTestRunConfigurationType", true, true, true, true)) ); expected.add(new TestUsageDescriptor( "configured.in.project", 1, create("SecondTestRunConfigurationType", true, false, false, false)) ); expected.add(new TestUsageDescriptor( "configured.in.project", 2, create("SecondTestRunConfigurationType", false, false, true, false)) ); expected.add(new TestUsageDescriptor( "configured.in.project", 1, create("SecondTestRunConfigurationType", false, false, false, false)) ); expected.add(createTotalCountUsageDescriptor(9, 0)); doTest(configurations, expected, false); }