public void UsesCustomGoalsIfSpecified()
{
var factory = new DefaultSuiteFactory(parameters.Object, suiteRoot, commandEnumerator.Object);
var goal1 = new Goal("goal1");
var goal2 = new Goal("goal2");
var goal3 = new Goal("goal3");
var suite = factory.CreateSuite(new HashSet<Goal>(new[] { goal1, goal2, goal3 }), goal1);
suite.Should().NotBeNull();
suite.Goals.Should().HaveCount(3);
suite.Goals.Should().Contain(new[] { goal1, goal2, goal3 });
}