public void SetUp() { theCorrelator = MockRepository.GenerateStub<ICorrelateRequests>(); theNextBehavior = MockRepository.GenerateStub<IActionBehavior>(); theBehavior = new SetCorrelationHeaders(theCorrelator, theNextBehavior); theBehavior.Invoke(); }
public void SetUp() { theCorrelator = MockRepository.GenerateStub <ICorrelateRequests>(); theNextBehavior = MockRepository.GenerateStub <IActionBehavior>(); theBehavior = new SetCorrelationHeaders(theCorrelator, theNextBehavior); theBehavior.Invoke(); }
public SetCorrelationHeaders(ICorrelateRequests correlator, IActionBehavior inner) : base(PartialBehavior.Ignored) { _correlator = correlator; InsideBehavior = inner; }