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