public StateTransitionOrchestrator(IStateTransitionGuardFactory stateTransitionGuardFactory) { if (stateTransitionGuardFactory == null) { throw new ArgumentNullException(nameof(stateTransitionGuardFactory)); } _stateTransitionGuardFactory = stateTransitionGuardFactory; }
public virtual void SetUp() { _stateTransitionGuardFactory = _stateTransitionGuardFactory.Fake(); _sut = new StateTransitionOrchestrator <Department>(_stateTransitionGuardFactory); }