| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final Set | |
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addInjection(Injection
Injection to manage as part of this plan injection)Add an |
| public void | addTestSubjectField(Field
Field representing a test subject to which injection of mocks will be attempted f)Add a field that should be treated as a test subject injection target. |
| private void | |
| public List | Returns: list of Injections having fieldName qualifiersGet all injections having fieldName qualifiers. |
| public List | Returns: fields representing test subjectsGet fields identified as test subjects to which injection of mocks should be attempted. |
| public List | Returns: list of Injections that do not have fieldName qualifiers.Get all injections that do not have fieldName qualifiers. |
| qualifiedInjections | back to summary |
|---|---|
| private final List<Injection> qualifiedInjections | |
| qualifiers | back to summary |
|---|---|
| private final Set<String> qualifiers | |
| testSubjectFields | back to summary |
|---|---|
| private final List<Field> testSubjectFields | |
| unqualifiedInjections | back to summary |
|---|---|
| private final List<Injection> unqualifiedInjections | |
| InjectionPlan | back to summary |
|---|---|
| public InjectionPlan() | |
| addInjection | back to summary |
|---|---|
| public void addInjection(Injection injection) Add an
| |
| addTestSubjectField | back to summary |
|---|---|
| public void addTestSubjectField(Field f) Add a field that should be treated as a test subject injection target.
| |
| blockDuplicateQualifiers | back to summary |
|---|---|
| private void blockDuplicateQualifiers(String qualifier) | |
| getQualifiedInjections | back to summary |
|---|---|
| public List Get all injections having fieldName qualifiers. | |
| getTestSubjectFields | back to summary |
|---|---|
| public List Get fields identified as test subjects to which injection of mocks should be attempted. | |
| getUnqualifiedInjections | back to summary |
|---|---|
| public List Get all injections that do not have fieldName qualifiers. | |