private void GivenMergedPreferenceWithSuccess() { mergedPreference = new MergedPreference(new List <MergeResult <DscResource> > { new MergeResult <DscResource> { Value = new MockDscResource { Ensure = Ensure.Present, ResourceStepName = "Step1" }, Success = true }, new MergeResult <DscResource> { Value = new MockDscResource { Ensure = Ensure.Absent, ResourceStepName = "Step2" }, Success = true } }); }
private void WhenMergePreferences() { resultPreference = projectPreference.MergePreference(userPreference.MergePreference(new EmptyPreferenceMergeResult())); }
private void WhenMergeUserPreferenceWithEmptyPreference() { mergeResult = userPreference.MergePreference(new EmptyPreferenceMergeResult()); }