org.spockframework.mock
Class CodeResultGenerator

java.lang.Object
  extended by org.spockframework.mock.SingleResultGenerator
      extended by org.spockframework.mock.CodeResultGenerator
All Implemented Interfaces:
IResultGenerator

public class CodeResultGenerator
extends SingleResultGenerator

Author:
Peter Niederwieser

Constructor Summary
CodeResultGenerator(groovy.lang.Closure code)
           
 
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

CodeResultGenerator

public CodeResultGenerator(groovy.lang.Closure code)
Method Detail

generateSingle

public java.lang.Object generateSingle(IMockInvocation invocation)
Specified by:
generateSingle in class SingleResultGenerator


Copyright © 2013. All rights reserved