Package org.jmock.integration.junit3
Integrates jMock with JUnit 3.
To write a mock object test in JUnit 3, extend MockObjectTestCase.
Any mock objects used in the test will be verified after the test has run and before the
fixture is torn down.
-
Class Summary Class Description JUnit3ErrorTranslator TranslatesExpectationErrors into JUnit'sAssertionFailedErrors.JUnit3Mockery AMockerythat reports expectation errors as JUnit 3 test failures.MockObjectTestCase ATestCasethat supports testing with mock objects.VerifyingTestCase ATestCasethat verifies postconditions after the test has run and before the fixture has been torn down.