Campoie / rest-assured

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

Add custom List impl #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Given:
greeting.name.children() = [{attributes={}, children=[], value=John}, 
{attributes={}, children=[], value=Doe}]

Should allow for:
expect().body("greeting.name.children()", hasItems("John", 
"Doe")).get("/anotherGreetXML")

I.e.:
children.containsKey("John") should return true

Original issue reported on code.google.com by johan.ha...@gmail.com on 14 Feb 2011 at 9:24

GoogleCodeExporter commented 9 years ago
Should be: children.contain("John") should return true

Original comment by johan.ha...@gmail.com on 14 Feb 2011 at 9:24

GoogleCodeExporter commented 9 years ago
Implementing Node objects instead

Original comment by johan.ha...@gmail.com on 15 Feb 2011 at 7:43