public class Injection extends Object
Constructor and Description |
---|
Injection(Object mock,
Mock annotation)
Create instance containing the given mock and annotation.
|
Modifier and Type | Method and Description |
---|---|
Mock |
getAnnotation()
Gets the annotation describing this mock instance.
|
Object |
getMock()
Gets the mock instance for this injection.
|
String |
getQualifier()
Get the field name qualifier for this injection.
|
boolean |
isMatched()
Is this injection matched by some injection target?
|
void |
setMatched()
Change the status to indicate that this injection was matched to some target.
|
public Object getMock()
public Mock getAnnotation()
public String getQualifier()
public void setMatched()
public boolean isMatched()
Copyright © 2001–2022 EasyMock contributors. All rights reserved.