Package | Description |
---|---|
samples.annotationbased | |
samples.anonymousmocking | |
samples.constructor | |
samples.expectnew |
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 | Method and Description |
---|---|
Service |
PublicConstructorWithDependencyDemo.getService() |
Constructor and Description |
---|
PublicConstructorWithDependencyDemo(Service service) |
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) |
String |
ExpectNewDemo.newWithArguments(Service service,
int times) |
String |
ExpectNewDemo.newWithWrongArguments(Service service,
int times) |
Constructor and Description |
---|
ExpectNewWithMultipleCtorDemo(Service service) |
ExpectNewWithMultipleCtorDemo(Service service,
int times) |
VarArgsConstructorDemo(Service... services) |
Copyright © 2019. All rights reserved.