public override void Context()
 {
     XmlService.ResetCalls();
     FileSystem.ResetCalls();
     HashProvider.ResetCalls();
     Service = new FilesService(XmlService.Object,FileSystem.Object,HashProvider.Object);
 }
Beispiel #2
0
 public override void Context()
 {
     HashProvider = new CryptoHashProvider(FileSystem);
     Service = new FilesService(new XmlService(FileSystem, HashProvider), FileSystem, HashProvider);
 }
Beispiel #3
0
 public override void Context()
 {
     Service = new FilesService(new XmlService(FileSystem), FileSystem, new CrytpoHashProvider(FileSystem, CryptoHashProviderType.Md5));
 }