00001
00025 package org.openmobileis.test.mock.embedded;
00026
00027 import java.io.IOException;
00028 import java.io.OutputStream;
00029
00030 import javax.servlet.ServletOutputStream;
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 public final class MockServletOutputStream extends ServletOutputStream {
00041
00042 private OutputStream out;
00043
00047 public MockServletOutputStream(OutputStream out) {
00048 this.out = out;
00049 }
00050
00051
00052
00053
00054 public void write(int arg0) throws IOException {
00055 out.write(arg0);
00056 }
00057
00058 }