Uses of Package
mockit

Packages that use mockit
Package
Description
Provides the classes and annotations used when writing tests with the JMockit APIs.
Provides integration with JUnit 4.x test runners, for version 4.5 or newer.
Provides integration with Spring Framework's bean factories.
Contains the classes that implement the internal mechanisms of the toolkit, and as such are not intended for direct use in client code.
 
 
 
 
  • Classes in mockit used by mockit
    Class
    Description
    Used to verify a set of expectations on available mocked types and/or instances, against the invocations which actually occurred during the test.
  • Class
    Description
    A context object representing the current invocation to a mocked or faked method/constructor, to be passed as the first parameter of the corresponding delegate/fake method implementation.
    Used inside a fake class to indicate a fake method whose implementation will temporarily replace the implementation of one or more matching "real" methods or constructors (these are the "faked" methods/constructors).
    A base class used in the creation of a fake for an external type, which is usually a class from some library or component used from the internal codebase of the system under test (SUT).
  • Class
    Description
    A context object representing the current invocation to a mocked or faked method/constructor, to be passed as the first parameter of the corresponding delegate/fake method implementation.
    Used inside a fake class to indicate a fake method whose implementation will temporarily replace the implementation of one or more matching "real" methods or constructors (these are the "faked" methods/constructors).
    A base class used in the creation of a fake for an external type, which is usually a class from some library or component used from the internal codebase of the system under test (SUT).
  • Classes in mockit used by mockit.internal
    Class
    Description
    A context object representing the current invocation to a mocked or faked method/constructor, to be passed as the first parameter of the corresponding delegate/fake method implementation.
  • Class
    Description
    Used to record expectations on mocked types and their instances.
  • Class
    Description
    An empty interface to be used with the Expectations.result field or the Invocations#with(Delegate) method, allowing test code to define varying invocation results or argument matching rules, respectively.
  • Class
    Description
    An empty interface to be used with the Expectations.result field or the Invocations#with(Delegate) method, allowing test code to define varying invocation results or argument matching rules, respectively.
  • Classes in mockit used by mockit.internal.faking
    Class
    Description
    A context object representing the current invocation to a mocked or faked method/constructor, to be passed as the first parameter of the corresponding delegate/fake method implementation.
    A base class used in the creation of a fake for an external type, which is usually a class from some library or component used from the internal codebase of the system under test (SUT).