public void CanDeserializeTypeConversionFailed()
 {
     var ex = new RequestException(System.Net.HttpStatusCode.BadRequest, "[{errorType:'TypeConversionFailed', message:'msg', argument:'arg', value:'val', targetType:'int'}]");
     Assert.That(ex.ErrorObjects().First().GetType().Name, Is.EqualTo("TypeConversionFailed"));
 }
 public void CanDeserializeMissingArgument()
 {
     var ex = new RequestException(System.Net.HttpStatusCode.BadRequest, "[{errorType:'MissingArgument', message:'msg', argument:'arg' }]");
     Assert.That(ex.ErrorObjects().First().GetType().Name, Is.EqualTo("MissingArgument"));
 }