### Question:
LambdaDataObjectRequest extends LambdaRequest<T> implements DataObjectRequest<T> { public List<Query> getQueries() { return dataObjectRequest.getQueries(); } LambdaDataObjectRequest(JsonNode rootNode, Class<T> dataObjectClass); List<Query> getQueries(); @Override String getId(); @Override T getDataObject(); String parseId(); @Override void setQueries(List<Query> queries);  }### Answer:
@Test public void testGetQueriesNullMap() { LambdaDataObjectRequest<AgendaProgress> request = new LambdaDataObjectRequest<>(null, AgendaProgress.class); Assert.assertNull(request.getQueries()); Assert.assertNull(request.getJsonNode()); }
@Test public void testGetQueries() throws IOException { LambdaDataObjectRequest<AgendaProgress> request = new LambdaDataObjectRequest<>(getJSONNodeFromFile(PAYLOAD_WITH_QUERY_FILE), AgendaProgress.class); Assert.assertNotNull(request.getQueries()); Assert.assertEquals(request.getQueries().size(), 2); Map<String, String> queryStringMap = request.getQueries().stream().collect( Collectors.toMap(q-> q.getField().name(), q-> q.getValue().toString()) ); Assert.assertEquals(queryStringMap.get("Title"), "myTitle"); Assert.assertEquals(queryStringMap.get("Guid"), "dfoweruwo3j2p2"); }