com.mockobjects.constraint
public class IsInstanceOf extends Object implements Constraint
Constructor Summary | |
---|---|
IsInstanceOf(Class theclass) Creates a new instance of IsInstanceOf
|
Method Summary | |
---|---|
boolean | eval(Object arg) |
String | toString() |
Parameters: theclass The predicate evaluates to true for instances of this class or one of its subclasses.