com.mockobjects.constraint

Class IsNull

Implemented Interfaces:
Constraint

public class IsNull
extends java.lang.Object
implements Constraint

Is the value null?

Constructor Summary

IsNull()

Method Summary

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

Constructor Details

IsNull

public IsNull()

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.