|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Writer java.io.PrintWriter com.mockobjects.io.MockPrintWriter
Constructor Summary | |
MockPrintWriter()
|
Method Summary | |
void |
close()
|
void |
flush()
|
void |
setExpectedCloseCalls(int calls)
|
void |
setExpectedFlushCalls(int calls)
|
void |
setExpectedSegment(java.lang.String aString)
|
void |
verify()
Throw an AssertionFailedException if any expectations have not been met. |
void |
write(java.lang.String s)
|
Methods inherited from class java.io.PrintWriter |
checkError, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, write, write, write, write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MockPrintWriter()
Method Detail |
public void setExpectedCloseCalls(int calls)
public void setExpectedSegment(java.lang.String aString)
public void write(java.lang.String s)
public void setExpectedFlushCalls(int calls)
public void flush()
public void close()
public void verify()
Verifiable
verify
in interface Verifiable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |