Package org.jmock.integration.junit3
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.
-
ClassesClassDescriptionTranslates
ExpectationErrors into JUnit'sAssertionFailedErrors.AMockerythat reports expectation errors as JUnit 3 test failures.ATestCasethat supports testing with mock objects.ATestCasethat verifies postconditions after the test has run and before the fixture has been torn down.