HttpSessionBindingEvent extends HttpSessionEvent { @Override public HttpSession getSession() { return super.getSession(); } HttpSessionBindingEvent(HttpSession session, String name);  HttpSessionBindingEvent(HttpSession session, String name, Object value); String getName(); @Override HttpSession getSession(); Object getValue();  }
@Test void testGetSession() { HttpSession session = new TestHttpSession(); HttpSessionBindingEvent event = new HttpSessionBindingEvent(session, null); assertNotNull(event.getSession()); }