|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mockito.internal.configuration.injection.filter.FinalMockCandidateFilter
public class FinalMockCandidateFilter
This node returns an actual injecter which will be either :
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 access
Constructor Summary | |
---|---|
FinalMockCandidateFilter()
|
Method Summary | |
---|---|
OngoingInjecter |
filterCandidate(java.util.Collection<java.lang.Object> mocks,
java.lang.reflect.Field field,
java.lang.Object fieldInstance)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FinalMockCandidateFilter()
Method Detail |
---|
public OngoingInjecter filterCandidate(java.util.Collection<java.lang.Object> mocks, java.lang.reflect.Field field, java.lang.Object fieldInstance)
filterCandidate
in interface MockCandidateFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |