Class FieldTypeRedefinitions
java.lang.Object
mockit.internal.expectations.mocking.TypeRedefinitions
mockit.internal.expectations.mocking.FieldTypeRedefinitions
-
Field Summary
Fields inherited from class TypeRedefinitions
captureOfNewInstances -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignNewInstancesToMockFields(Object target) booleanReturns true iff the mock instance concrete class is not mocked in some test, i.e. it's a class which only appears in the code under test.voidcleanUp()Methods inherited from class TypeRedefinitions
getCaptureOfNewInstances, getTargetClasses
-
Constructor Details
-
FieldTypeRedefinitions
-
-
Method Details
-
assignNewInstancesToMockFields
-
captureNewInstanceForApplicableMockField
Returns true iff the mock instance concrete class is not mocked in some test, i.e. it's a class which only appears in the code under test. -
cleanUp
public void cleanUp()- Overrides:
cleanUpin classTypeRedefinitions
-