|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jmock.core.AbstractDynamicMock org.jmock.core.CoreMock
public class CoreMock
Constructor Summary | |
---|---|
CoreMock(Class mockedType,
String name)
|
|
CoreMock(Class mockedType,
String name,
InvocationDispatcher invocationDispatcher)
|
Method Summary | |
---|---|
Object |
invoke(Object invokedProxy,
Method method,
Object[] args)
|
Object |
proxy()
|
Methods inherited from class org.jmock.core.AbstractDynamicMock |
---|
addInvokable, getMockedType, getMockName, mockInvocation, mockNameFromClass, reset, setDefaultStub, toString, verify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CoreMock(Class mockedType, String name)
public CoreMock(Class mockedType, String name, InvocationDispatcher invocationDispatcher)
Method Detail |
---|
public Object proxy()
proxy
in interface DynamicMock
public Object invoke(Object invokedProxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |