public void Cancel_should_reload_options() { SetUpOptionsController(new Settings()); optionsController.Cancel(); xmlSerializer.AssertWasCalled(xs => xs.LoadFromXml <Settings>(Arg <string> .Is.Anything), o => o.Repeat.Twice()); }
public void Cancel_should_reload_options() { SetUpOptionsController(new Settings()); optionsController.Cancel(); xmlSerializer.AssertWasCalled(xs => xs.LoadFromXml <Settings>(Arg <string> .Is.Anything), o => o.Repeat.Twice()); }