|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
| Annotation Types Summary | |
|---|---|
| InjectInto | Is used to inject an instance into a specific ObjectUnderTest
instance. |
| InjectIntoMany | Is used to inject an instance into multiple ObjectUnderTest instances. |
| Mock | Allows shorthand mock creation with the configured MockProvider
Example:
public void Test {
@Rule
public NeedleRule needle = new NeedleRule();
@Mock
private Queue queue;
@Test
public void test(){
...
}
}
|
| ObjectUnderTest | Is used to specify an object under test. |
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||