public void PassesPatchersToRunnerFactory( List <PatcherSettings> settings, GetPatcherRunners sut) { settings.ForEach(x => x.On = true); sut.Get(settings); foreach (var setting in settings) { sut.PatcherSettingsToRunnerFactory.Received(1).Convert(setting); } }
public void OnlyIncludesOnPatchers( List <PatcherSettings> settings, GetPatcherRunners sut) { settings.ForEach(x => x.On = true); settings[^ 1].On = false;