public NPMPackageInitializerTests() { _fileManager = new TestFileManager(); _directoryManager = new TestDirectoryManager(); _testCommandLineWrapper = new TestCommandLineWrapper(); var packageJsonGenerator = new PackageJsonGenerator(_packageJsonTemplate); _npmPackageInitializer = new NPMPackageInitializer(_testCommandLineWrapper, packageJsonGenerator, _fileManager, _directoryManager); }
public DeploymentBundleHandlerTests() { _session = new OrchestratorSession(); var awsResourceQueryer = new TestToolAWSResourceQueryer(); var interactiveService = new TestToolOrchestratorInteractiveService(); _commandLineWrapper = new TestToolCommandLineWrapper(); _directoryManager = new TestDirectoryManager(); _zipFileManager = new TestZipFileManager(); _deploymentBundleHandler = new DeploymentBundleHandler(_session, _commandLineWrapper, awsResourceQueryer, interactiveService, _directoryManager, _zipFileManager); }
public DeploymentBundleHandlerTests() { var awsResourceQueryer = new TestToolAWSResourceQueryer(); var interactiveService = new TestToolOrchestratorInteractiveService(); var zipFileManager = new TestZipFileManager(); _commandLineWrapper = new TestToolCommandLineWrapper(); _directoryManager = new TestDirectoryManager(); _projectDefinitionParser = new ProjectDefinitionParser(new FileManager(), new DirectoryManager()); _deploymentBundleHandler = new DeploymentBundleHandler(_commandLineWrapper, awsResourceQueryer, interactiveService, _directoryManager, zipFileManager); _recipeDefinition = new Mock <RecipeDefinition>( It.IsAny <string>(), It.IsAny <string>(), It.IsAny <string>(), It.IsAny <DeploymentTypes>(), It.IsAny <DeploymentBundleTypes>(), It.IsAny <string>(), It.IsAny <string>(), It.IsAny <string>(), It.IsAny <string>(), It.IsAny <string>()).Object; }