gt:         throw new UnsupportedOperationException("Not supported yet.");
context: /*
   * #%L
   * WebMotion server
   * 
   * $Id$
   * $HeadURL$
   * %%
   * Copyright (C) 2011 - 2015 Debux
   * %%
   * This program is free software: you can redistribute it and/or modify
   * it under the terms of the GNU Lesser General Public License as 
   * published by the Free Software Foundation, either version 3 of the 
   * License, or (at your option) any later version.
   * 
   * 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 Lesser Public License for more details.
   * 
   * You should have received a copy of the GNU General Lesser Public 
   * License along with this program.  If not, see
   * <http://www.gnu.org/licenses/lgpl-3.0.html>.
   * #L%
   */
  package org.debux.webmotion.server;
  
  import java.io.IOException;
  import java.io.PrintWriter;
  import java.util.Collection;
  import java.util.Locale;
  import javax.servlet.ServletOutputStream;
  import javax.servlet.http.Cookie;
  import javax.servlet.http.HttpServletResponse;
  
  /**
   * Dummy response, extended to implements a specific function for test.
   * 
   * @author julien
   */
  public class HttpServletResponseDummy implements HttpServletResponse {
  
      @Override
      public void addCookie(Cookie cookie) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public boolean containsHeader(String string) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public String encodeURL(String string) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public String encodeRedirectURL(String string) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public String encodeUrl(String string) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public String encodeRedirectUrl(String string) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void sendError(int i, String string) throws IOException {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void sendError(int i) throws IOException {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void sendRedirect(String string) throws IOException {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void setDateHeader(String string, long l) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void addDateHeader(String string, long l) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void setHeader(String string, String string1) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void addHeader(String string, String string1) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void setIntHeader(String string, int i) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void addIntHeader(String string, int i) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void setStatus(int i) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void setStatus(int i, String string) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public int getStatus() {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public String getHeader(String string) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public Collection<String> getHeaders(String string) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public Collection<String> getHeaderNames() {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public String getCharacterEncoding() {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public String getContentType() {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public ServletOutputStream getOutputStream() throws IOException {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public PrintWriter getWriter() throws IOException {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void setCharacterEncoding(String string) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void setContentLength(int i) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void setContentType(String string) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void setBufferSize(int i) {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public int getBufferSize() {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void flushBuffer() throws IOException {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void resetBuffer() {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public boolean isCommitted() {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void reset() {
          throw new UnsupportedOperationException("Not supported yet.");
      }
  
      @Override
      public void setLocale(Locale locale) {
  