| Package | Description |
|---|---|
| samples.annotationbased | |
| samples.anonymousmocking | |
| samples.constructor | |
| samples.expectnew | |
| samples.privatefield |
| Modifier and Type | Field and Description |
|---|---|
private Service |
AnnotationDemo.service |
| Constructor and Description |
|---|
AnnotationDemo(Service service) |
| Modifier and Type | Field and Description |
|---|---|
protected Service |
StupidAnonymous.service |
| Modifier and Type | Method and Description |
|---|---|
void |
StupidAnonymous.setService(Service service) |
| Modifier and Type | Field and Description |
|---|---|
private Service |
PrivateConstructorDemo.privateService |
private Service |
PublicConstructorDemo.privateService |
private Service |
PublicConstructorWithDependencyDemo.service |
| Modifier and Type | Method and Description |
|---|---|
Service |
PublicConstructorWithDependencyDemo.getService() |
| Constructor and Description |
|---|
PublicConstructorWithDependencyDemo(Service service) |
| Modifier and Type | Field and Description |
|---|---|
private Service |
ExpectNewServiceUser.service |
private Service |
ExpectNewWithMultipleCtorDemo.service |
private Service[] |
VarArgsConstructorDemo.services |
| Modifier and Type | Method and Description |
|---|---|
Service[] |
VarArgsConstructorDemo.getAllServices() |
Service[] |
ExpectNewDemo.newVarArgs(Service... services) |
| Modifier and Type | Method and Description |
|---|---|
Service[] |
ExpectNewDemo.newVarArgs(Service... services) |
java.lang.String |
ExpectNewDemo.newWithArguments(Service service,
int times) |
java.lang.String |
ExpectNewDemo.newWithWrongArguments(Service service,
int times) |
| Constructor and Description |
|---|
ExpectNewServiceUser(Service service,
int times) |
ExpectNewWithMultipleCtorDemo(Service service) |
ExpectNewWithMultipleCtorDemo(Service service,
int times) |
VarArgsConstructorDemo(Service... services) |
| Modifier and Type | Field and Description |
|---|---|
private Service |
MockSelfPrivateFieldServiceClass.service |
private Service |
SimplePrivateFieldServiceClass.service |