Package org.jmock

Class MockObjectTestCase

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
MockObjectTestCase

public abstract class MockObjectTestCase extends MockObjectSupportTestCase
A base class for tests that use Mock Objects. This class provides methods for creating mock objects and expectations and automatically verifying mock objects after the test has run but before the test fixture has been torn down.
Since:
1.0.0
  • Constructor Details

    • MockObjectTestCase

      public MockObjectTestCase()
    • MockObjectTestCase

      public MockObjectTestCase(String name)
  • Method Details