Class IsAnything

java.lang.Object
com.mockobjects.constraint.IsAnything
All Implemented Interfaces:
Constraint

public class IsAnything extends Object implements Constraint
A constraint that always returns true.
  • Constructor Details

    • IsAnything

      public IsAnything()
  • Method Details

    • eval

      public boolean eval(Object o)
      Description copied from interface: Constraint
      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()
      Overrides:
      toString in class Object