/*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
package org.everrest.core.tools;
import org.everrest.core.ContainerResponseWriter;
import org.everrest.core.GenericContainerResponse;
import javax.ws.rs.ext.MessageBodyWriter;
import java.io.IOException;
/**
* Mock object than can be used for any test when we don't care about response entity at all.
*
* @author andrew00x
*/
public class DummyContainerResponseWriter implements ContainerResponseWriter {
@Override
public void writeBody(GenericContainerResponse response, MessageBodyWriter entityWriter) throws IOException {
}
@Override
public void writeHeaders(GenericContainerResponse response) throws IOException {
}
}