public SnapshotDeployer(
     IDeploySnapshotSteps stepDeployer,
     ISnapshotEnvironment environment,
     IValidateSnapshotSteps steps
     )
 {
     _environment  = environment;
     _steps        = steps;
     _stepDeployer = stepDeployer;
 }
Ejemplo n.º 2
0
 private void before_each()
 {
     _snapshot    = new Snapshot();
     _environment = A.Fake <ISnapshotEnvironment>(x => x.Strict());
     A.CallTo(() => _environment.Id).Returns("environment");
     A.CallTo(() => _environment.Name).Returns("name");
     _stepDeployer = A.Fake <IDeploySnapshotSteps>(x => x.Strict());
     _validator    = A.Fake <IValidateSnapshotSteps>(x => x.Strict());
     _deployer     = new Domain.Services.SnapshotDeployer(_stepDeployer, _environment, _validator);
 }