public void ByteArrayToPassthrough()
        {
            var input = new byte[] { 40, 41, 42, 43 };
            var conv = new PassThroughPayloadConverter();
            var output = (byte[])conv.ConvertFromBytes(input);

            Assert.Equal<int>(input.Length, output.Length);
            for (int i = 0; i < input.Length; i++)
            {
                Assert.Equal<byte>(input[i], (byte)output[i]);
            }
        }
        public void ByteArrayToPassthrough()
        {
            var input  = new byte[] { 40, 41, 42, 43 };
            var conv   = new PassThroughPayloadConverter();
            var output = (byte[])conv.ConvertFromBytes(input);

            Assert.Equal <int>(input.Length, output.Length);
            for (int i = 0; i < input.Length; i++)
            {
                Assert.Equal <byte>(input[i], (byte)output[i]);
            }
        }