Fixed test
This commit is contained in:
parent
10eab28b84
commit
5b2bbf94c2
|
@ -70,7 +70,7 @@ public class JSONPathTests {
|
||||||
private void checkPutElement(JSONPathWrapper wrapper, String path, String elementName, Object value){
|
private void checkPutElement(JSONPathWrapper wrapper, String path, String elementName, Object value){
|
||||||
wrapper.putElement(path,elementName,value);
|
wrapper.putElement(path,elementName,value);
|
||||||
System.out.println("JSON is "+wrapper.getValueCTX().jsonString());
|
System.out.println("JSON is "+wrapper.getValueCTX().jsonString());
|
||||||
List<Map<?,?>> foundElements= wrapper.getByPath(path,Document.class);
|
List<Map> foundElements= wrapper.getByPath(path,Map.class);
|
||||||
|
|
||||||
assertTrue(foundElements!=null);
|
assertTrue(foundElements!=null);
|
||||||
assertTrue(!foundElements.isEmpty());
|
assertTrue(!foundElements.isEmpty());
|
||||||
|
|
Loading…
Reference in New Issue