hmpatel / rest-assured

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

Validate all assertions at the same time with overloaded body/content method #396

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
then().
                body("timestamp", notNullValue(),
                     "errorCode", is(-2),
                     "details", equalTo(".."));

Here all expectations could be validated at once just like expect.

Original issue reported on code.google.com by johan.ha...@gmail.com on 27 Mar 2015 at 4:46