public void Should_detect_when_multiple_projects_exist_with_correct_count_when_three_and_chosen_but_doesnt_exist() { var tempPath = GetPathWithThreeProjects(); var bs = new TestAppBootStrapper(tempPath); Exception exception = null; try { bs.SetProjectName("Project45"); } catch (Exception ex) { exception = ex; } exception.Should().NotBeNull(); }
public void Should_detect_when_multiple_projects_exist_with_correct_count_when_three_and_chosen() { var tempPath = GetPathWithThreeProjects(); var bs = new TestAppBootStrapper(tempPath); bs.SetProjectName("Project1"); bs.DetectProjectMode().Should().Be(AppProjectsStructureMode.MultipleChosen); }