org.spockframework.mock
Class ConstantResultGenerator
java.lang.Object
org.spockframework.mock.ConstantResultGenerator
- All Implemented Interfaces:
- IResultGenerator
public class ConstantResultGenerator
- extends Object
- implements IResultGenerator
- Author:
- Peter Niederwieser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantResultGenerator
public ConstantResultGenerator(Object constant)
generate
public Object generate(IMockInvocation invocation)
- Specified by:
generate
in interface IResultGenerator
Copyright © 2010. All Rights Reserved.