Class MockObject

java.lang.Object
com.mockobjects.MockObject
All Implemented Interfaces:
Verifiable
Direct Known Subclasses:
CommonMockDataSource, MockArray, MockAttribute, MockAttributes, MockConnection, MockConnection, MockConnection2, MockContext, MockDatabaseMetaData, MockFile, MockFilterChain, MockFilterConfig, MockHttpServletRequest, MockHttpServletResponse, MockHttpSession, MockIOFactory, MockMessage, MockMessage, MockMessageConsumer, MockMessageProducer, MockMessagePublisher, MockMimeMessageFactory, MockMultiRowResultSet, MockNaming, MockNamingEnumeration, MockPreparedStatement, MockPropertyChangeListener, MockQueue, MockQueueConnectionFactory, MockRequestDispatcher, MockResultSetMetaData, MockService, MockServletConfig, MockServletContext, MockSession, MockSession, MockSingleRowResultSet, MockSocket, MockSocketFactory, MockStatement, MockTopic, MockTopicConnectionFactory

public abstract class MockObject extends Object implements Verifiable
  • Constructor Details

    • MockObject

      public MockObject()
  • Method Details

    • notImplemented

      public void notImplemented()
    • notYetImplemented

      public static void notYetImplemented(String mockName)
      Deprecated.
    • verify

      public void verify()
      Description copied from interface: Verifiable
      Throw an AssertionFailedException if any expectations have not been met.
      Specified by:
      verify in interface Verifiable