public void Build_WhenWithHeadersIsCalledWithoutCreateMessage_ShouldThrowAnInvalidOperationException() { Assert.Throws <InvalidOperationException>(() => _sut.WithHeaders(new Dictionary <string, string> { { "key", "value" } })); }