ServletRequestAttributeEvent extends ServletRequestEvent { public String getName() { return name; } ServletRequestAttributeEvent(ServletContext servletContext, ServletRequest request, String name, Object value); String getName(); Object getValue();  }
@Test void testGetName() { ServletContext servletContext = new TestServletContext(); ServletRequestAttributeEvent event = new ServletRequestAttributeEvent(servletContext, null, "name", null); assertEquals("name", event.getName()); }