public void Setup()
 {
     windowsRegistryStub  = new Mock <IWindowsRegistry>();
     fileServiceStub      = new Mock <IFileService>();
     directoryServiceStub = new Mock <IDirectoryService>();
     sut = new FileUserIdStore(windowsRegistryStub.Object, fileServiceStub.Object, directoryServiceStub.Object);
 }
Esempio n. 2
0
 public FileUserIdStoreTests()
 {
     fileServiceStub      = new Mock <IFileService>();
     directoryServiceStub = new Mock <IDirectoryService>();
     sut = new FileUserIdStore(fileServiceStub.Object, directoryServiceStub.Object);
 }