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 TranslatesExpectationError
s into JUnit'sAssertionFailedError
s.JUnit3Mockery AMockery
that reports expectation errors as JUnit 3 test failures.MockObjectTestCase ATestCase
that supports testing with mock objects.VerifyingTestCase ATestCase
that verifies postconditions after the test has run and before the fixture has been torn down.