org.spockframework.mock
Class CodeArgumentConstraint

java.lang.Object
  extended by org.spockframework.mock.CodeArgumentConstraint
All Implemented Interfaces:
IArgumentConstraint

public class CodeArgumentConstraint
extends java.lang.Object
implements IArgumentConstraint

Author:
Peter Niederwieser

Constructor Summary
CodeArgumentConstraint(groovy.lang.Closure code)
           
 
Method Summary
 boolean isSatisfiedBy(java.lang.Object argument)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeArgumentConstraint

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

isSatisfiedBy

public boolean isSatisfiedBy(java.lang.Object argument)
Specified by:
isSatisfiedBy in interface IArgumentConstraint


Copyright © 2013. All rights reserved