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