org.spockframework.mock
Class EqualMethodNameConstraint

java.lang.Object
  extended by org.spockframework.mock.EqualMethodNameConstraint
All Implemented Interfaces:
IInvocationConstraint

public class EqualMethodNameConstraint
extends Object
implements IInvocationConstraint

Author:
Peter Niederwieser

Constructor Summary
EqualMethodNameConstraint(String methodName)
           
 
Method Summary
 boolean isSatisfiedBy(IMockInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqualMethodNameConstraint

public EqualMethodNameConstraint(String methodName)
Method Detail

isSatisfiedBy

public boolean isSatisfiedBy(IMockInvocation invocation)
Specified by:
isSatisfiedBy in interface IInvocationConstraint


Copyright © 2010. All Rights Reserved.