|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJUnit4ClassRunner
org.jmock.integration.junit4.JMock
public class JMock
A test Runner
that asserts that all expectations have been met after
the test has finished and before the fixture is torn down.
Constructor Summary | |
---|---|
JMock(java.lang.Class<?> testClass)
|
Method Summary | |
---|---|
protected Mockery |
mockeryOf(java.lang.Object test)
|
protected TestMethod |
wrapMethod(java.lang.reflect.Method method)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMock(java.lang.Class<?> testClass) throws InitializationError
InitializationError
Method Detail |
---|
protected TestMethod wrapMethod(java.lang.reflect.Method method)
protected Mockery mockeryOf(java.lang.Object test)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |