public void CanGetProjectType_WhenProjectTypeGuidsIsNull() { var result = new TestProjectParserResult { ProjectTypeGuids = null }; result.IsType(ProjectType.Unspecified).Should().BeTrue(); }
public void CanGetProjectTypeFromMultiple() { var result = new TestProjectParserResult() { ProjectTypeGuids = new[] { ProjectTypes.CSharp, ProjectTypes.AspNetMvc1 } }; result.IsType(ProjectType.Unspecified).Should().BeFalse(); result.IsType(ProjectType.CSharp).Should().BeTrue(); result.IsType(ProjectType.AspNetMvc1).Should().BeTrue(); }