FindPersonApiHandler extends AbstractDynamoDbHandler implements RequestHandler<APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent> { @Override public APIGatewayProxyResponseEvent handleRequest(APIGatewayProxyRequestEvent apiGatewayProxyRequestEvent, Context context) { LOG.info(apiGatewayProxyRequestEvent.getPathParameters()); Person person = this.getDynamoDbMapper().load(Person.class, apiGatewayProxyRequestEvent .getPathParameters().get("id")); return apiGatewayProxyResponseEvent(SUCCESS_STATUS_CODE, person); }  @Override APIGatewayProxyResponseEvent handleRequest(APIGatewayProxyRequestEvent apiGatewayProxyRequestEvent,
                                                      Context context);  }
@Test public void handleRequest() { findPersonApiHandler.handleRequest(apiGatewayProxyRequestEvent(), mock(Context.class)); verify(dynamoDbMapper, times(1)).load(Person.class, "37e7a1fe-3544-473d-b764-18128f02d72d"); }