org.spockframework.mock
Class TypeArgumentConstraint

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

public class TypeArgumentConstraint
extends java.lang.Object
implements IArgumentConstraint

Author:
Peter Niederwieser

Constructor Summary
TypeArgumentConstraint(java.lang.Class<?> type, IArgumentConstraint constraint)
           
 
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

TypeArgumentConstraint

public TypeArgumentConstraint(java.lang.Class<?> type,
                              IArgumentConstraint constraint)
Method Detail

isSatisfiedBy

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


Copyright © 2013. All rights reserved