コード例 #1
0
        public async Task ShouldIgnoreInboundMessages(ProtocolMessage.MessageAction action)
        {
            // Act
            var result = await _state.OnMessageReceived(new ProtocolMessage(action), null);

            // Assert
            result.Should().BeFalse();
        }
コード例 #2
0
        public async Task ShouldIgnoreInboundMessages(ProtocolMessage.MessageAction action)
        {
            // Act
            var result = await _state.OnMessageReceived(new ProtocolMessage(action));

            // Assert
            Assert.False(result);
        }