|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jmock.stub.CallStub
org.jmock.stub.VoidStub
Constructor Summary | |
VoidStub()
|
Method Summary | |
java.lang.String |
getDescription()
|
java.lang.Object |
invoke(Invocation invocation)
Processes the invocation. |
Methods inherited from class org.jmock.stub.CallStub |
verify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VoidStub()
Method Detail |
public java.lang.String getDescription()
public java.lang.Object invoke(Invocation invocation) throws java.lang.Throwable
Stub
invocation
- The invocation to stub.
null
if the invocation is of a method with a void return type.
java.lang.Throwable
- An exception to be thrown to the caller, if not returning a value. A checked exception
thrown from this method must be in the throws
list of the invoked method.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |