public class InjectMocksScanner extends Object
Constructor and Description |
---|
InjectMocksScanner(Class<?> clazz)
Create a new InjectMocksScanner for the given clazz on the given instance
|
Modifier and Type | Method and Description |
---|---|
void |
addTo(Set<Field> mockDependentFields)
Add the fields annotated by @
InjectMocks |
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
Copyright © 2024. All rights reserved.