### Question:
WroServletContextListener implements ServletContextListener { public final void contextInitialized(final ServletContextEvent event) { this.servletContext = event.getServletContext(); attributeHelper = new ServletContextAttributeHelper(this.servletContext, getListenerName()); initListener(event.getServletContext()); }  final void contextInitialized(final ServletContextEvent event); final void contextDestroyed(final ServletContextEvent servletContextEvent); final void setManagerFactory(final WroManagerFactory managerFactory); final void setConfiguration(final WroConfiguration configuration);  }### Answer:
@Test(expected = IllegalStateException.class) public void shouldFailWhenMultipleListenersWithSameNameDefined() { victim.contextInitialized(mockServletContextEvent); victim.contextInitialized(mockServletContextEvent); }