com.mockobjects.constraint

Class IsAnything

Implemented Interfaces:
Constraint

public class IsAnything
extends java.lang.Object
implements Constraint

A constraint that always returns true.

Constructor Summary

IsAnything()

Method Summary

boolean
eval(Object o)
Evaluates the constraint for argument o.
String
toString()

Constructor Details

IsAnything

public IsAnything()

Method Details

eval

public boolean eval(Object o)
Evaluates the constraint for argument o.
Specified by:
eval in interface Constraint
Returns:
true if o meets the constraint, false if it does not.

toString

public String toString()

Copyright © 2002 Mock Objects. All Rights Reserved.