示例#1
0
        public void GetBodyWithNullMessage()
        {
            // Arrange
            var action = new Action(() => ServiceBusHelper.GetBody <Payload>(null, null, null));

            // Act & Assert
            action.Should().Throw <ArgumentNullException>()
            .And.ParamName.Should().Be("message");
        }