org.spockframework.mock
Class ResultGeneratorChain

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

public class ResultGeneratorChain
extends java.lang.Object
implements IResultGenerator


Constructor Summary
ResultGeneratorChain()
           
 
Method Summary
 void addFirst(IResultGenerator generator)
           
 java.lang.Object generate(IMockInvocation invocation)
           
 boolean isEmpty()
           
 boolean isExhausted()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultGeneratorChain

public ResultGeneratorChain()
Method Detail

addFirst

public void addFirst(IResultGenerator generator)

isEmpty

public boolean isEmpty()

isExhausted

public boolean isExhausted()
Specified by:
isExhausted in interface IResultGenerator

generate

public java.lang.Object generate(IMockInvocation invocation)
Specified by:
generate in interface IResultGenerator


Copyright © 2013. All rights reserved