private DeployComponent CreateTestComponent(IProjectRepository sut, string projectId=null) { if(string.IsNullOrEmpty(projectId)) { var project = this.CreateTestProject(sut); projectId = project.Id; } return sut.CreateComponent(projectId, this.Fixture.Create<string>("ComponentName"), false, null, this.Fixture.Create<EnumDeploymentIsolationType>()); }
private DeployComponent CreateTestComponent(IProjectRepository sut, string projectId) { return sut.CreateComponent(projectId, this.Fixture.Create<string>("ComponentName"), false, null, this.Fixture.Create<EnumDeploymentIsolationType>()); }