|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.spockframework.mock.SingleResultGenerator
org.spockframework.mock.ConstantResultGenerator
public class ConstantResultGenerator
| Constructor Summary | |
|---|---|
ConstantResultGenerator(java.lang.Object constant)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
generateSingle(IMockInvocation invocation)
|
| Methods inherited from class org.spockframework.mock.SingleResultGenerator |
|---|
generate, isExhausted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantResultGenerator(java.lang.Object constant)
| Method Detail |
|---|
public java.lang.Object generateSingle(IMockInvocation invocation)
generateSingle in class SingleResultGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||