org.spockframework.mock
Class RegexMethodNameConstraint

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

public class RegexMethodNameConstraint
extends java.lang.Object
implements IInvocationConstraint

Author:
Peter Niederwieser

Constructor Summary
RegexMethodNameConstraint(java.lang.String regex)
           
 
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

RegexMethodNameConstraint

public RegexMethodNameConstraint(java.lang.String regex)
Method Detail

isSatisfiedBy

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


Copyright © 2013. All rights reserved