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"); }
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"); }