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