public void Should_serialize_request_and_pass_to_implementation()
        {
            MessageSerializer.Stub(s => s.Serialize(Arg <IMessage> .Is.Anything)).Return(SerializedData);
            var requestMessage = new RequestMessage("1", "abc", "def", new object[] { 1, 2, 3 }, true);

            Subject.Send(requestMessage);
            MessageSerializer.AssertWasCalled(s => s.Serialize(requestMessage));
            Assert.That(Subject.SentData, Is.EqualTo(SerializedData));
        }