private OrderedDictionary GetConstructorDefaultParams() { OrderedDictionary defaultParams = new OrderedDictionary { { "projectInfo", ProjectInfoGenerator.GetTerminalAppProjectInfo() }, { "environmentInfo", DeploymentDataGenerator.GetEnvironmentInfo() }, { "deploymentInfo", DeploymentInfoGenerator.GetTerminalAppDeploymentInfo() }, { "artifactsFilePath", _ArtifactsFilePath }, { "targetArtifactsDirPath", _TargetArtifactsDirPath }, { "fileAdapter", _fileAdapterFake.Object }, { "directoryAdapter", _directoryAdapterFake.Object }, { "zipFileAdapter", _zipFileAdapterFake.Object }, }; return(defaultParams); }
public void SetUp() { _environmentInfo = DeploymentDataGenerator.GetEnvironmentInfo(); _deploymentInfo = DeploymentInfoGenerator.GetDbDeploymentInfo(); _projectInfo = ProjectInfoGenerator.GetTerminalAppProjectInfo(); _fileAdapterFake = new Mock <IFileAdapter>(MockBehavior.Loose); _directoryAdapterFake = new Mock <IDirectoryAdapter>(MockBehavior.Loose); _zipFileAdapterFake = new Mock <IZipFileAdapter>(MockBehavior.Loose); _deploymentStep = new ExtractArtifactsDeploymentStep( _projectInfo, _environmentInfo, _deploymentInfo, _ArtifactsFilePath, _TargetArtifactsDirPath, _fileAdapterFake.Object, _directoryAdapterFake.Object, _zipFileAdapterFake.Object); }