@Test(expected=UnsupportedOperationException.class) public void testGetELContext() { replay(velocityWriter, request, response, servletContext); try { pageContext.getELContext(); } finally { verify(velocityContext, velocityWriter, request, response, servletContext, viewContext); } }
@Override public ELContext getELContext() { throw new UnsupportedOperationException("EL not available at this point"); }
VelocityPageContext extends PageContext { @Override public ELContext getELContext() { throw new UnsupportedOperationException("EL not available at this point"); } }
VelocityPageContext extends PageContext { @Override public ELContext getELContext() { throw new UnsupportedOperationException("EL not available at this point"); } VelocityPageContext(Context velocityContext, Writer velocityWriter, ViewContext viewContext); }
VelocityPageContext extends PageContext { @Override public ELContext getELContext() { throw new UnsupportedOperationException("EL not available at this point"); } VelocityPageContext(Context velocityContext, Writer velocityWriter, ViewContext viewContext); @Override void initialize(Servlet servlet, ServletRequest request,
            ServletResponse response, String errorPageURL,
            boolean needsSession, int bufferSize, boolean autoFlush); @Override void release(); @Override HttpSession getSession(); @Override Object getPage(); @Override ServletRequest getRequest(); @Override ServletResponse getResponse(); @Override Exception getException(); @Override ServletConfig getServletConfig(); @Override ServletContext getServletContext(); @Override void forward(String relativeUrlPath); @Override void include(String relativeUrlPath); @Override void include(String relativeUrlPath, boolean flush); @Override void handlePageException(Exception e); @Override void handlePageException(Throwable t); @Override void setAttribute(String name, Object value); @Override void setAttribute(String name, Object value, int scope); @Override Object getAttribute(String name); @Override Object getAttribute(String name, int scope); @Override Object findAttribute(String name); @Override void removeAttribute(String name); @Override void removeAttribute(String name, int scope); @Override int getAttributesScope(String name); @SuppressWarnings("unchecked") @Override Enumeration<String> getAttributeNamesInScope(int scope); @Override JspWriter getOut(); @SuppressWarnings("deprecation") @Override javax.servlet.jsp.el.ExpressionEvaluator getExpressionEvaluator(); @SuppressWarnings("deprecation") @Override javax.servlet.jsp.el.VariableResolver getVariableResolver(); @Override ELContext getELContext(); }
VelocityPageContext extends PageContext { @Override public ELContext getELContext() { throw new UnsupportedOperationException("EL not available at this point"); } VelocityPageContext(Context velocityContext, Writer velocityWriter, ViewContext viewContext); @Override void initialize(Servlet servlet, ServletRequest request,
            ServletResponse response, String errorPageURL,
            boolean needsSession, int bufferSize, boolean autoFlush); @Override void release(); @Override HttpSession getSession(); @Override Object getPage(); @Override ServletRequest getRequest(); @Override ServletResponse getResponse(); @Override Exception getException(); @Override ServletConfig getServletConfig(); @Override ServletContext getServletContext(); @Override void forward(String relativeUrlPath); @Override void include(String relativeUrlPath); @Override void include(String relativeUrlPath, boolean flush); @Override void handlePageException(Exception e); @Override void handlePageException(Throwable t); @Override void setAttribute(String name, Object value); @Override void setAttribute(String name, Object value, int scope); @Override Object getAttribute(String name); @Override Object getAttribute(String name, int scope); @Override Object findAttribute(String name); @Override void removeAttribute(String name); @Override void removeAttribute(String name, int scope); @Override int getAttributesScope(String name); @SuppressWarnings("unchecked") @Override Enumeration<String> getAttributeNamesInScope(int scope); @Override JspWriter getOut(); @SuppressWarnings("deprecation") @Override javax.servlet.jsp.el.ExpressionEvaluator getExpressionEvaluator(); @SuppressWarnings("deprecation") @Override javax.servlet.jsp.el.VariableResolver getVariableResolver(); @Override ELContext getELContext();  }