public void SolutionItems() { TestLogger logger = new TestLogger(); string[] items = { Path.Combine(TestRootPath, "foo"), Path.Combine(TestRootPath, "bar"), }; Project project = ProjectCreator.Create( path: Path.Combine(TestRootPath, "foo.proj")) .ItemInclude(MSBuildItemNames.SlnGenSolutionItem, "foo") .ItemInclude(MSBuildItemNames.SlnGenSolutionItem, "bar"); SlnProject.GetSolutionItems(project, logger, path => true).ShouldBe(items); logger.LowImportanceMessages.ShouldBeEmpty(); }