com.agical.rmock.core.match
Interface Reference
- All Known Implementing Classes:
- ArrayRefernce, ExpressionReference, ToStringReference
public interface Reference
getObject
Object getObject()
- Returns:
- the referenced object
describeWith
void describeWith(ExpressionDescriber expressionDescriber)
throws IOException
- Describes this reference with the given describer
- Parameters:
expressionDescriber
- The describer to use
- Throws:
IOException
objectEquals
boolean objectEquals(Object object)
- Parameters:
other
- The object to check
- Returns:
- true if the referenced object is equal to the passed object.
objectCompareTo
int objectCompareTo(Object object)
- compares the referenced object to another object
- Parameters:
object
- the object to compare to
- Returns:
- > 0 if greater than, 0 if equal to, < 0 if less than.
Copyright © 2005-2011 Agical AB. All Rights Reserved.