|
jDummy | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jdummy.Mockery
public class Mockery
Factory for all Mock objects. This class will be replaced when jMock-2 is released.
Constructor Summary | |
---|---|
Mockery()
|
Method Summary | |
---|---|
DynamicMock |
asDynamicMock(java.lang.Object o)
|
Mock |
asMock(java.lang.Object o)
|
java.lang.Object |
mock(java.lang.Class type)
|
java.lang.Object |
mock(java.lang.Class type,
java.lang.String roleName)
|
protected java.lang.Object |
registerProxy(DynamicMock dynamicMock)
|
void |
verify()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Mockery()
Method Detail |
---|
public java.lang.Object mock(java.lang.Class type)
public java.lang.Object mock(java.lang.Class type, java.lang.String roleName)
public Mock asMock(java.lang.Object o)
public DynamicMock asDynamicMock(java.lang.Object o)
protected java.lang.Object registerProxy(DynamicMock dynamicMock)
public void verify()
|
jDummy | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |