|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMockObject
The IMockObject
interface defines the methods that a mock
object must implement to work with the Hammock framework.
Method Summary | |
---|---|
IInvocationHandler |
getInvocationHandler()
Gets the invocation handler that the mock object uses to evaluate method invocations. |
void |
setInvocationHandler(IInvocationHandler handler)
Sets the invocation handler that the mock object should use to evaluate method invocations. |
Method Detail |
---|
void setInvocationHandler(IInvocationHandler handler)
handler
- The invocation handler to be used by the mock object.IInvocationHandler getInvocationHandler()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |