public void JsonDSLTest2_6() { Expect.FanoutSearchQueryException( JsonQuery, @" { 'path': '/affiliation/AuthorIDs/author', 'affiliation': { 'id': [1290206253] }, 'author': { 'return': { 'select': [ 'Name' ] } } } ", "Invalid property value"); }
public void JsonDSLTest2_1() { Expect.FanoutSearchQueryException(JsonQuery, @" 'path': '/paper/AuthorIDs/author', 'paper': { 'type': 'Paper', 'NormalizedTitle': 'graph engine', 'select': [ 'OriginalTitle' ] }, 'author': { 'return': { 'type': 'Author', 'Name': 'bin shao' } } } ", "The input is not a valid Json object"); }