コード例 #1
0
 public TestContinuationContext()
     : base(
         new RecordingLogger(), new SettableClock(), MockRepository.GenerateMock <IChainInvoker>(),
         new RecordingEnvelopeSender())
 {
     SystemTime.As <SettableClock>().LocalNow(DateTime.Today.AddHours(5));
 }
コード例 #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;
        }