Exemplo n.º 1
0
 private void SetUpOptionsController(Settings settings)
 {
     fileSystem.Stub(fs => fs.FileExists(Arg <string> .Is.Anything)).Return(true);
     xmlSerializer.Stub(xs => xs.LoadFromXml <Settings>(Arg <string> .Is.Anything)).Return(settings);
     optionsController.Load();
 }