示例#1
0
 public void Is_argument_exception_thrown_when_MethodsDeserialization_string_is_null()
 {
     MethodSignatureDto.DeserializeMethodArray(null);
 }
示例#2
0
        public void Is_jsonserialization_exception_thrown_when_json_object_is_parsed_to_MethodsDeserialization()
        {
            string invalidJson = "{\"IsMember\" : true, \"Name\" : \"John\", \"Age\" : 24}";

            MethodSignatureDto.DeserializeMethodArray(invalidJson);
        }
示例#3
0
        public void Is_argument_exception_thrown_when_MethodsDeserialization_string_is_empty()
        {
            string json = "";

            MethodSignatureDto.DeserializeMethodArray(json);
        }
示例#4
0
        public void Is_jsonreader_exception_thrown_when_MethodsDeserialization_string_is_invalid()
        {
            string invalidJson = "this is not valid json";

            MethodSignatureDto.DeserializeMethodArray(invalidJson);
        }