public void Can_persist_deployment() { var deployment = new Deployment { Application = "SampleApp1", Environment = "Development", CertifiedBy = "Certifer", DeployedBy = "Deployer", DeployedOn = new DateTime(2007, 3, 15), CertifiedOn = new DateTime(2007, 4, 15), Version = "250", Result = DeploymentResult.Failure }; var output = new DeploymentOutput { Output = "Output text", Deployment = deployment }; deployment.SetOutput(output); AssertObjectCanBePersisted(deployment); }
public virtual void SetOutput(DeploymentOutput output) { Output = output; output.Deployment = this; }
public virtual void SetOutput(DeploymentOutput output) { Output = output; output.Deployment = this; }