org.jmock.integration.junit4
Class JMock

java.lang.Object
  extended by JUnit4ClassRunner
      extended by org.jmock.integration.junit4.JMock

public class JMock
extends JUnit4ClassRunner

A test Runner that asserts that all expectations have been met after the test has finished and before the fixture is torn down.

Author:
nat

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

JMock

public JMock(java.lang.Class<?> testClass)
      throws InitializationError
Throws:
InitializationError
Method Detail

wrapMethod

protected TestMethod wrapMethod(java.lang.reflect.Method method)

mockeryOf

protected Mockery mockeryOf(java.lang.Object test)