public void ShouldDecodeJsonMessageSuccessfully()
        {
            var obj = new ProtobufSerializer(ProtobufSerializer.SerializationFormat.Json).Decode <Response>(_respondeMessageEncodeJson);

            Assert.AreEqual(typeof(Response), obj.GetType());
            Assert.AreEqual(obj, _responseStub);
        }
        public void ShouldDecodeProtobufMessageSuccessfully()
        {
            var obj = new ProtobufSerializer(ProtobufSerializer.SerializationFormat.Protobuf).Decode <Response>(_responseEncoded);

            Assert.True(typeof(Response) == obj.GetType());
            Assert.True(IsResponseEquals(obj, _responseStub));
        }