Class FinalMockCandidateFilter
java.lang.Object
org.mockito.internal.configuration.injection.filter.FinalMockCandidateFilter
- All Implemented Interfaces:
MockCandidateFilter
This node returns an actual injecter which will be either :
- an
OngoingInjecter
that do nothing if a candidate couldn't be found - an
OngoingInjecter
that will try to inject the candidate trying first the property setter then if not possible try the field access
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilterCandidate
(Collection<Object> mocks, Field field, Object fieldInstance)
-
Constructor Details
-
FinalMockCandidateFilter
public FinalMockCandidateFilter()
-
-
Method Details
-
filterCandidate
- Specified by:
filterCandidate
in interfaceMockCandidateFilter
-