示例#1
0
        public void ServiceMessageWithPayloadSerializationTest()
        {
            var sm = new ServiceMessage(_testHeader, new ServiceMessagePayload(Encoding.ASCII.GetBytes(RandomString)));

            ServiceMessageTestHelper.SerializeDeserializeTest(sm);
        }
示例#2
0
        public void ServiceMessageNoPayloadSerializationTest()
        {
            var sm = new ServiceMessage(_testHeader);

            ServiceMessageTestHelper.SerializeDeserializeTest(sm);
        }