sasurajachar / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

hasItemsmethod undefined for 2.4.0 JAVA #391

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.wrote simple get request
get("/lotto").then().body("lotto.winners.winnerId", hasItems(23, 54));

What is the expected output? What do you see instead?
expected to work smoothly, but its giving compile error, 'hasItems' method 
undefined

What version of the product are you using? On what operating system?
2.4.0, Linux

Please provide any additional information below.
'equalTo' method is working fine in same test class

Original issue reported on code.google.com by eroshn...@gmail.com on 9 Mar 2015 at 9:22

GoogleCodeExporter commented 9 years ago
You're probably using the wrong version of Hamcrest or your static imports are 
wrong

Original comment by johan.ha...@gmail.com on 16 Mar 2015 at 10:50