org.spockframework.mock
Class DefaultResultGenerator

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

public class DefaultResultGenerator
extends SingleResultGenerator

Returns the default value for the invoked method's return type.

Author:
Peter Niederwieser

Constructor Summary
DefaultResultGenerator()
           
 
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

DefaultResultGenerator

public DefaultResultGenerator()
Method Detail

generateSingle

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


Copyright © 2013. All rights reserved