static void RunSerializationTest(AmqpMessage message) { AmqpMessage deserialized = AmqpMessage.CreateBufferMessage(message.GetBuffer()); ValidateMessage(message, deserialized); }