1 package net.jaekl.qd.util;
3 import java.io.InputStream;
4 import java.io.OutputStream;
5 import java.net.Socket;
7 public class SocketMock extends Socket {
8 private InputStream m_is;
9 private OutputStream m_os;
11 public SocketMock(InputStream is, OutputStream os) {
17 public InputStream getInputStream() { return m_is; }
20 public OutputStream getOutputStream() { return m_os; }