public void envelope_has_accepts_for_known_response_readers() { var envelope = Publisher.As <MessageContext>().EnvelopeForRequestResponse <Message1>(new Message2()); envelope.AcceptedContentTypes.ShouldContain("text/message1"); envelope.AcceptedContentTypes.ShouldContain("text/oddball"); envelope.AcceptedContentTypes.Last().ShouldBe("application/json"); }