### Question:
SpringFacesIntegration extends WebApplicationObjectSupport implements
		ApplicationListener<ContextRefreshedEvent> { public static SpringFacesIntegration getCurrentInstance(ServletContext servletContext) { Assert.notNull(servletContext, "ServletContext must not be null"); return getCurrentInstance(servletContext.getAttribute(ATTRIBUTE)); }  void onApplicationEvent(ContextRefreshedEvent event); static boolean isInstalled(ServletContext servletContext); static boolean isInstalled(ExternalContext externalContext); static Date getLastRefreshedDate(ServletContext servletContext); static Date getLastRefreshedDate(ExternalContext externalContext); static SpringFacesIntegration getCurrentInstance(ServletContext servletContext); static SpringFacesIntegration getCurrentInstance(ExternalContext externalContext); static void postConstructApplicationEvent(ExternalContext externalContext, Application application);  }### Answer:
@Test public void shouldGetCurrentInstace() throws Exception { createSpringFacesIntegration(); assertThat(SpringFacesIntegration.getCurrentInstance(this.servletContext), is(sameInstance(this.springFacesIntegration))); assertThat(SpringFacesIntegration.getCurrentInstance(this.externalContext), is(sameInstance(this.springFacesIntegration))); }