com.agical.rmock.core.match.constraint
Class StartsWithConstraint
java.lang.Object
com.agical.rmock.core.match.operator.AbstractExpression
com.agical.rmock.core.match.constraint.AbstractConstraint
com.agical.rmock.core.match.constraint.StartsWithConstraint
- All Implemented Interfaces:
- Constraint, Expression
public class StartsWithConstraint
- extends AbstractConstraint
- implements Constraint
- Author:
- brolund
(c) 2005 Agical AB
StartsWithConstraint
public StartsWithConstraint(String reference)
- Parameters:
name
- reference
-
passes
public boolean passes(Object object)
- Specified by:
passes
in interface Expression
- Parameters:
object
- The object to check
- Returns:
- true if the object passes this constraint, otherwise false.
Copyright © 2005-2011 Agical AB. All Rights Reserved.