public class FinalMockCandidateFilter extends Object implements MockCandidateFilter
OngoingInjecter
that do nothing if a candidate couldn't be foundOngoingInjecter
that will try to inject the candidate trying first the property setter then if not possible try the field accessConstructor and Description |
---|
FinalMockCandidateFilter() |
public OngoingInjecter filterCandidate(Collection<Object> mocks, Field field, Object fieldInstance)
filterCandidate
in interface MockCandidateFilter
Mockito, MIT License