public CommitSimulationChangesToBuildingBlockUICommand(ICreateCommitChangesToBuildingBlockCommandTaskRetriever commitTaskRetriever, IMoBiContext context, IPendingChangesChecker pendingChangesChecker) { _commitTaskRetriever = commitTaskRetriever; _context = context; _pendingChangesChecker = pendingChangesChecker; }
protected override void Context() { _createCommitChangesCommandTaskRetriever = A.Fake <ICreateCommitChangesToBuildingBlockCommandTaskRetriever>(); _context = A.Fake <IMoBiContext>(); _pendingChangesChecker = A.Fake <IPendingChangesChecker>(); sut = new CommitSimulationChangesToBuildingBlockUICommand(_createCommitChangesCommandTaskRetriever, _context, _pendingChangesChecker); }
protected override void Context() { _taskRetriever = A.Fake <ICreateCommitChangesToBuildingBlockCommandTaskRetriever>(); _cloneManagerForBuildingBlock = A.Fake <ICloneManagerForBuildingBlock>(); sut = new SimulationCommitToBuildingBlockTasks(_taskRetriever, _cloneManagerForBuildingBlock); }