content: /*
   * Copyright (C) 2012-2023 52°North Spatial Information Research GmbH
   *
   * This program is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 as published
   * by the Free Software Foundation.
   *
   * If the program is linked with libraries which are licensed under one of
   * the following licenses, the combination of the program with the linked
   * library is not considered a "derivative work" of the program:
   *
   *     - Apache License, version 2.0
   *     - Apache Software License, version 1.0
   *     - GNU Lesser General Public License, version 3
   *     - Mozilla Public License, versions 1.0, 1.1 and 2.0
   *     - Common Development and Distribution License (CDDL), version 1.0
   *
   * Therefore the distribution of the program linked with libraries licensed
   * under the aforementioned licenses, is permitted by the copyright holders
   * if the distribution is compliant with both the GNU General Public
   * License version 2 and the aforementioned licenses.
   *
   * This program is distributed in the hope that it will be useful, but
   * WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
   * Public License for more details.
   */
  package mock;
  
  import java.io.InputStream;
  import java.net.MalformedURLException;
  import java.net.URL;
  import java.util.Enumeration;
  import java.util.EventListener;
  import java.util.Map;
  import java.util.Set;
  
  import javax.servlet.Filter;
  import javax.servlet.FilterRegistration;
  import javax.servlet.RequestDispatcher;
  import javax.servlet.Servlet;
  import javax.servlet.ServletContext;
  import javax.servlet.ServletException;
  import javax.servlet.ServletRegistration;
  import javax.servlet.ServletRegistration.Dynamic;
  import javax.servlet.SessionCookieConfig;
  import javax.servlet.SessionTrackingMode;
  import javax.servlet.descriptor.JspConfigDescriptor;
  
  @SuppressWarnings({ "unchecked", "rawtypes" })
  public class MockServletContext implements ServletContext {
  
      @Override
      public Object getAttribute(String arg0) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public Enumeration getAttributeNames() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public ServletContext getContext(String arg0) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public String getContextPath() {
          return ".";
      }
  
      @Override
      public String getInitParameter(String arg0) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public Enumeration getInitParameterNames() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public int getMajorVersion() {
          // TODO Auto-generated method stub
          return 0;
      }
  
      @Override
      public String getMimeType(String arg0) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public int getMinorVersion() {
          // TODO Auto-generated method stub
          return 0;
      }
  
      @Override
      public RequestDispatcher getNamedDispatcher(String arg0) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public String getRealPath(String arg0) {
          return ".";
      }
  
      @Override
      public RequestDispatcher getRequestDispatcher(String arg0) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public URL getResource(String arg0) throws MalformedURLException {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public InputStream getResourceAsStream(String arg0) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public Set getResourcePaths(String arg0) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public String getServerInfo() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      @Deprecated
      public Servlet getServlet(String arg0) throws ServletException {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public String getServletContextName() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      @Deprecated
      public Enumeration getServletNames() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      @Deprecated
      public Enumeration getServlets() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public void log(String arg0) {
          // TODO Auto-generated method stub
  
      }
  
      @Override
      @Deprecated
      public void log(Exception arg0, String arg1) {
          // TODO Auto-generated method stub
  
      }
  
      @Override
      public void log(String arg0, Throwable arg1) {
          // TODO Auto-generated method stub
  
      }
  
      @Override
      public void removeAttribute(String arg0) {
          // TODO Auto-generated method stub
  
      }
  
      @Override
      public void setAttribute(String arg0, Object arg1) {
          // TODO Auto-generated method stub
  
      }
  
      @Override
      public int getEffectiveMajorVersion() {
          // TODO Auto-generated method stub
          return 0;
      }
  
      @Override
      public int getEffectiveMinorVersion() {
          // TODO Auto-generated method stub
          return 0;
      }
  
      @Override
      public boolean setInitParameter(String name, String value) {
          // TODO Auto-generated method stub
          return false;
      }
  
      @Override
      public Dynamic addServlet(String servletName, String className) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public Dynamic addServlet(String servletName, Servlet servlet) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public Dynamic addServlet(String servletName, Class<? extends Servlet> servletClass) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public <T extends Servlet> T createServlet(Class<T> clazz) throws ServletException {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public ServletRegistration getServletRegistration(String servletName) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public Map<String, ? extends ServletRegistration> getServletRegistrations() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public javax.servlet.FilterRegistration.Dynamic addFilter(String filterName, String className) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public javax.servlet.FilterRegistration.Dynamic addFilter(String filterName, Filter filter) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public javax.servlet.FilterRegistration.Dynamic addFilter(String filterName, Class<? extends Filter> filterClass) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public <T extends Filter> T createFilter(Class<T> clazz) throws ServletException {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public FilterRegistration getFilterRegistration(String filterName) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public Map<String, ? extends FilterRegistration> getFilterRegistrations() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public SessionCookieConfig getSessionCookieConfig() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public void setSessionTrackingModes(Set<SessionTrackingMode> sessionTrackingModes) {
          // TODO Auto-generated method stub
  
      }
  
      @Override
      public Set<SessionTrackingMode> getDefaultSessionTrackingModes() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public Set<SessionTrackingMode> getEffectiveSessionTrackingModes() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public void addListener(String className) {
          // TODO Auto-generated method stub
  
      }
  
      @Override
      public <T extends EventListener> void addListener(T t) {
          // TODO Auto-generated method stub
  
      }
  
      @Override
      public void addListener(Class<? extends EventListener> listenerClass) {
          // TODO Auto-generated method stub
  
      }
  
      @Override
      public <T extends EventListener> T createListener(Class<T> clazz) throws ServletException {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public JspConfigDescriptor getJspConfigDescriptor() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public ClassLoader getClassLoader() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public void declareRoles(String... roleNames) {
          // TODO Auto-generated method stub
  
      }
  
      @Override
      public String getVirtualServerName() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public Dynamic addJspFile(String servletName, String jspFile) {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public int getSessionTimeout() {
          // TODO Auto-generated method stub
          return 0;
      }
  
      @Override
      public void setSessionTimeout(int sessionTimeout) {
          // TODO Auto-generated method stub
      }
  
      @Override
      public String getRequestCharacterEncoding() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public void setRequestCharacterEncoding(String encoding) {
          // TODO Auto-generated method stub
  
      }
  
      @Override
      public String getResponseCharacterEncoding() {
          // TODO Auto-generated method stub
          return null;
      }
  
      @Override
      public void setResponseCharacterEncoding(String encoding) {
          // TODO Auto-generated method stub
  
      }
  
  }
  