コード例 #1
0
        public void Replay_SubscriptionHelper_Send_True()
        {
            var identification = new Identification {
                Id = "A", Type = "B"
            };
            var replyMessage = new FakeReplayMessage();

            _subject.Reply(replyMessage);

            _subscriptonsHelper.Verify(x => x.Send(It.IsAny <IControlMessage>()));
        }
コード例 #2
0
        public void Replay_SubscriptionHelper_Send_True()
        {
            var identification = new Identification {Id = "A",Type = "B"};
            var replyMessage = new FakeReplayMessage();

            _subject.Reply(replyMessage);

            _subscriptonsHelper.Verify(x => x.Send(It.IsAny<IControlMessage>()));
        }