1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
// Context : Shiftr will only operate if / when it finds matches
// Purpose : Verify that Shiftr operates even when it is faced with
// array mismatches
"input": {
"id": "reviewId",
"text": "This is a review.",
"rating" : 5,
"statistics": {
"id": "statsId",
"feedbackCount": "10"
},
"author": [
{
"id": "authorId",
"name": "Author Name"
}
]
},
"spec": {
"id" : "Id",
"text" : "ReviewText",
"rating" : "Rating",
"statistics" : {
"0" : {
"feedbackCount" : "FeedbackCount"
}
},
"author" : {
"id" : "AuthorId",
"name" : "AuthorName"
}
},
"expected": {
"Id" : "reviewId",
"ReviewText" : "This is a review.",
"Rating" : 5
}
}