Closed GoogleCodeExporter closed 9 years ago
That's probably because it's represented as a List and not array. If there's
such a thing as emptyList() then try that instead. I usually use "hasSize"
instead:
get("collections").then().body("", hasSize(0));
Original comment by johan.ha...@gmail.com
on 18 Jan 2014 at 10:42
Thanks! I was able to get it working with the below code.
get("collections").then().body("", emptyCollectionOf(List.class));
Original comment by Jazz...@gmail.com
on 18 Jan 2014 at 2:45
Great!
Original comment by johan.ha...@gmail.com
on 18 Jan 2014 at 4:08
Original issue reported on code.google.com by
Jazz...@gmail.com
on 18 Jan 2014 at 12:18