org.mockme.io
Class EasyMockOutputStream
java.lang.Object
java.io.OutputStream
org.mockme.io.EasyMockOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class EasyMockOutputStream
- extends OutputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EasyMockOutputStream
public EasyMockOutputStream(OutputStream mock)
expectWrite
public void expectWrite(String str)
throws IOException
- Throws:
IOException
expectWrite
public void expectWrite(byte[] bytes)
throws IOException
- Throws:
IOException
expectWrite
public void expectWrite(int b)
throws IOException
- Throws:
IOException
expectClose
public void expectClose()
throws IOException
- Throws:
IOException
write
public void write(int b)
throws IOException
- Specified by:
write
in class OutputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class OutputStream
- Throws:
IOException
Copyright © 2006-2007 Jayway AB. All Rights Reserved.