com.mockobjects.constraint

Class IsSame

public class IsSame extends Object implements Constraint

Is the value the same object as another value?
Constructor Summary
IsSame(Object o)
Creates a new instance of IsSame
Method Summary
booleaneval(Object arg)
StringtoString()

Constructor Detail

IsSame

public IsSame(Object o)
Creates a new instance of IsSame

Parameters: o The predicate evaluates to true only when the argument is this object.

Method Detail

eval

public boolean eval(Object arg)

toString

public String toString()
Copyright © 2002 Mock Objects. All Rights Reserved.