Fixed test

This commit is contained in:
Fabio Sinibaldi 2022-02-16 11:50:43 +01:00
parent 10eab28b84
commit 5b2bbf94c2
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class JSONPathTests {
private void checkPutElement(JSONPathWrapper wrapper, String path, String elementName, Object value){
wrapper.putElement(path,elementName,value);
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.isEmpty());