public void GetUnboundProjects_Connected_ValidSolution_ProjectLevelBindingIsNotRequired_ProjectsAreNotChecked() { // Arrange var testConfig = new TestConfigurationBuilder(SonarLintMode.Connected, "xxx_key"); testConfig.SetSolutionLevelFilePathForLanguage(Language.Cpp, "c:\\existingConfig.cpp", true); testConfig.SetSolutionLevelFilePathForLanguage(Language.C, "c:\\existingConfig.c", true); testConfig.AddFilteredProject(ProjectSystemHelper.CppProjectKind); var testSubject = testConfig.CreateTestSubject(); // Act var projects = testSubject.GetUnboundProjects(); // Assert projects.Should().BeEmpty(); testConfig.AssertExistenceOfFileWasChecked("c:\\existingConfig.cpp"); testConfig.AssertNoAttemptToLoadRulesetFile("c:\\existingConfig.cpp"); }