### Question:
DefaultSpringFacesContext extends SpringFacesContext { public void release() { this.released = true; this.facesContext.releaseDelegate(); setCurrentInstance(null); } DefaultSpringFacesContext(LifecycleAccessor lifecycleAccessor, WebApplicationContext webApplicationContext,
			HttpServletRequest request, HttpServletResponse response, Object handler); void release(); @Override Object getHandler(); @Override Object getController(); @Override FacesContext getFacesContext(); @Override WebApplicationContext getWebApplicationContext(); @Override void render(View view, Map<String, Object> model); @Override ModelAndViewArtifact getRendering();  }### Answer:
@Test public void shouldReleaseWithoutUse() throws Exception { this.springFacesContext.release(); }
@Test public void shouldReleaseDelegateOnRelease() throws Exception { triggerFacesContextLoad(); this.springFacesContext.release(); verify(this.facesContext).release(); }