|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Stub
An object that stubs the behaviour of a invokedMethod invocation on behalf of an
Invokable
object.
Method Summary | |
---|---|
Object |
invoke(Invocation invocation)
Processes the invocation. |
Methods inherited from interface org.jmock.core.SelfDescribing |
---|
describeTo |
Method Detail |
---|
Object invoke(Invocation invocation) throws Throwable
invocation
- The invocation to stub.
null
if the invocation is of a invokedMethod with a void return type.
Throwable
- An exception to be thrown to the caller, if not returning a value. A checked exception
thrown from this invokedMethod 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 |