ServletRequestEvent extends java.util.EventObject { public ServletRequest getServletRequest() { return this.servletRequest; } ServletRequestEvent(ServletContext servletContext, ServletRequest servletRequest); ServletContext getServletContext(); ServletRequest getServletRequest();  }
@Test void testGetServletRequest() { ServletContext servletContext = new TestServletContext(); HttpServletRequest servletRequest = new TestHttpServletRequest(null); ServletRequestEvent event = new ServletRequestEvent(servletContext, servletRequest); assertNotNull(event.getServletRequest()); }