コード例 #1
0
        public BufferedAdaptorNotificationChannelTests()
        {
            bufferedChannel1 = Substitute.For <IBufferedNotificationChannel>();
            bufferedChannel2 = Substitute.For <IBufferedNotificationChannel>();

            sut = new BufferedAdaptorNotificationChannel <Notification1>(new[] { bufferedChannel1, bufferedChannel2 });
        }
コード例 #2
0
 public NotificationPipelineTests()
 {
     channel1 = Substitute.For <IBufferedNotificationChannel>();
     channel2 = Substitute.For <IBufferedNotificationChannel>();
     sut      = new NotificationPipeline(pipelineId, new[] { channel1, channel2 });
 }