public void TestInit() { this.temporaryFiles = new TempFileCollection(this.TestContext.TestRunDirectory, keepFiles: false); this.serviceProvider = new ConfigurableServiceProvider(); this.fileSystem = new ConfigurableFileSystem(); this.serviceProvider.RegisterService(typeof(IFileSystem), this.fileSystem); this.testSubject = new RuleSetSerializer(this.serviceProvider); }
public void TestInit() { fileSystem = new MockFileSystem(); temporaryFiles = new TempFileCollection(this.TestContext.TestRunDirectory, keepFiles: false); testSubject = new RuleSetSerializer(fileSystem); }