Example #1
0
 public TestContinuationContext()
     : base(
         new RecordingLogger(), new SettableClock(), MockRepository.GenerateMock <IChainInvoker>(),
         new RecordingEnvelopeSender())
 {
     SystemTime.As <SettableClock>().LocalNow(DateTime.Today.AddHours(5));
 }
Example #2
0
        public TestEnvelopeContext(IHandlerPipeline handlerPipeline)
            : base(
                new RecordingLogger(), new SettableClock(), MockRepository.GenerateMock <IChainInvoker>(),
                new RecordingEnvelopeSender(), handlerPipeline)
        {
            SystemTime.As <SettableClock>().LocalNow(DateTime.Today.AddHours(5));

            HandlerPipeline = handlerPipeline;
        }