## org.jmock.integration.junit4
Class JMock

    java.lang.Object
      JUnit4ClassRunner
          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(Class<?> testClass)`

Method Summary
`protected Mockery` `mockeryOf(Object test)`
`protected TestMethod` `wrapMethod(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(Class<?> testClass)
          throws InitializationError

Throws:
  `InitializationError`

Method Detail

### wrapMethod

    protected TestMethod wrapMethod(Method method)

### mockeryOf

    protected Mockery mockeryOf(Object test)