@Test
public void testSessionCreated() {

  HttpSessionListener listener = mock(HttpSessionListener.class);
  descriptor.addHttpSessionListener(listener);
  notifier.sessionCreated(session);
  verify(listener).sessionCreated(any(HttpSessionEvent.class));
  HttpSessionListener listener2 = mock(HttpSessionListener.class);
  descriptor.addHttpSessionListener(listener2);
  notifier.sessionCreated(session);
  verify(listener, times(2)).sessionCreated(any(HttpSessionEvent.class));
  verify(listener2).sessionCreated(any(HttpSessionEvent.class));
}