Class IsNot

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

public class IsNot extends Object implements Constraint
Calculates the logical negation of a constraint.
  • Constructor Details

  • Method Details

    • eval

      public boolean eval(Object arg)
      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