### Question:
LambdaRequest extends DefaultServiceRequest<T> { public HashMap<String, Object> getRequestParamMap() { return requestParamMap; } LambdaRequest(JsonNode rootNode, Class<T> requestObjectClass);  LambdaRequest(JsonNode rootNode); JsonNode getJsonNode(); HashMap<String, Object> getRequestParamMap(); ObjectMapper getObjectMapper(); String getIdFromPathParameter(); String getIdFromPathParameter(String pathParameterName); String parseEndpoint(); String getStageVariable(String stageVariableName); String getDomainName(); String getStageName(); @Override String getHeader(String header); String getRequestValue(String path); String getRequestValue(String path, String defaultValue); T parsePayloadObject(Class<T> requestObjectClass); AuthorizationResponse parseAuthorizationResponse();  }### Answer:
@Test public void testGetQueriesNoParams() throws IOException { LambdaRequest request = new LambdaRequest(getJSONNodeFromFile(PAYLOAD_WITH_NO_PARAMS_FILE)); Assert.assertNull(request.getRequestParamMap()); }
@Test public void testGetRequestParamMap() throws IOException { LambdaRequest request = new LambdaRequest(getJSONNodeFromFile(PAYLOAD_WITH_QUERY_FILE)); Assert.assertNotNull(request.getRequestParamMap()); Assert.assertEquals(request.getRequestParamMap().get("byTitle"), "myTitle"); Assert.assertEquals(request.getRequestParamMap().get("byGuid"), "dfoweruwo3j2p2"); }