public void CanCreateInstance() { var manager = new TestFileManager(); var window = new MainWindow(manager); Assert.IsNotNull(window); }
public NPMPackageInitializerTests() { _fileManager = new TestFileManager(); _directoryManager = new TestDirectoryManager(); _testCommandLineWrapper = new TestCommandLineWrapper(); var packageJsonGenerator = new PackageJsonGenerator(_packageJsonTemplate); _npmPackageInitializer = new NPMPackageInitializer(_testCommandLineWrapper, packageJsonGenerator, _fileManager, _directoryManager); }
public CloudApplicationNameGeneratorTests() { _fakeFileManager = new TestFileManager(); _mockDirectoryManager = new Mock <IDirectoryManager>(); _projectDefinitionParser = new ProjectDefinitionParser(_fakeFileManager, _mockDirectoryManager.Object); _cloudApplicationNameGenerator = new CloudApplicationNameGenerator(_fakeFileManager, _mockDirectoryManager.Object); }
public SettingsSerializerTest(ITestOutputHelper testOutputHelper) { _testFileManager = new TestFileManager(testOutputHelper); TestOutputLogger.Configure(testOutputHelper); }
public TestFileSteps(TestFileManager testFileManager, ParserDriver parserDriver, ProjectsDriver projectsDriver) { this.testFileManager = testFileManager; this.parserDriver = parserDriver; _projectsDriver = projectsDriver; }
public TestFileSteps(TestFileManager testFileManager, ParserDriver parserDriver, InputProjectDriver inputProjectDriver) { this.testFileManager = testFileManager; this.inputProjectDriver = inputProjectDriver; this.parserDriver = parserDriver; }