HttpSessionBindingEvent extends HttpSessionEvent { public Object getValue() { return this.value; } HttpSessionBindingEvent(HttpSession session, String name);  HttpSessionBindingEvent(HttpSession session, String name, Object value); String getName(); @Override HttpSession getSession(); Object getValue();  }
@Test void testGetValue() { HttpSession session = new TestHttpSession(); HttpSessionBindingEvent event = new HttpSessionBindingEvent(session, "name", "value"); assertEquals("value", event.getValue()); }