org.mockito.internal.configuration.injection.scanner
public class InjectMocksScanner extends Object
Constructor and Description |
---|
InjectMocksScanner(Class<?> clazz)
Create a new InjectMocksScanner for the given clazz on the given instance
|
public InjectMocksScanner(Class<?> clazz)
clazz
- Current class in the hierarchy of the testpublic void addTo(Set<Field> mockDependentFields)
InjectMocks
mockDependentFields
- Set of fields annotated by @InjectMocks