Logo Search packages:      
Sourcecode: jmock2 version File versions  Download package

org::jmock::integration::junit4::JMock Class Reference

Inherits org::junit::internal::runners::JUnit4ClassRunner.

List of all members.

Detailed Description

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


Definition at line 21 of file JMock.java.

Public Member Functions

 JMock (Class<?> testClass) throws InitializationError

Protected Member Functions

Mockery mockeryOf (Object test)
TestMethod wrapMethod (Method method)

Static Package Functions

static Field findMockeryField (Class<?> testClass) throws InitializationError

Private Member Functions

void assertMockeryIsSatisfied (Object testFixture)

Private Attributes

Field mockeryField

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index