org.jmock.core.constraint
Class StringEndsWith
java.lang.Object
org.jmock.core.constraint.SubstringConstraint
org.jmock.core.constraint.StringEndsWith
- All Implemented Interfaces:
- Constraint, SelfDescribing
public class StringEndsWith
- extends SubstringConstraint
Tests if the argument is a string that contains a substring.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringEndsWith
public StringEndsWith(String substring)
evalSubstringOf
protected boolean evalSubstringOf(String s)
- Specified by:
evalSubstringOf
in class SubstringConstraint
relationship
protected String relationship()
- Specified by:
relationship
in class SubstringConstraint