Bari.Core.Test.Model.DefaultSuiteFactoryTest.AddsDefaultGoalsIfNoCustomGoalsPresent C# (CSharp) Method

AddsDefaultGoalsIfNoCustomGoalsPresent() private method

private AddsDefaultGoalsIfNoCustomGoalsPresent ( ) : void
return void
        public void AddsDefaultGoalsIfNoCustomGoalsPresent()
        {
            var factory = new DefaultSuiteFactory(parameters.Object, suiteRoot, commandEnumerator.Object);
            var suite = factory.CreateSuite(new HashSet<Goal>(), Suite.DebugGoal);

            suite.Should().NotBeNull();
            suite.Goals.Should().HaveCount(2);
            suite.Goals.Should().Contain(new[] {Suite.DebugGoal, Suite.ReleaseGoal});
        }