Clover coverage report - Maven Clover report
Coverage timestamp: Sun Mar 18 2007 17:42:32 CET
file stats: LOC: 26   Methods: 2
NCLOC: 9   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
EqualsConstraint.java - 100% 100% 100%
coverage
 1    package com.agical.rmock.core.match.constraint;
 2   
 3    /**
 4    * <em>(c) Agical AB 2005</em>
 5    * @author joakim.ohlrogge
 6    *
 7   
 8    *
 9    * This constraint checks objects for equality
 10    */
 11    public class EqualsConstraint extends AbstractConstraint {
 12    /**
 13    * @param reference the reference to check objects against for equality
 14    */
 15  886 public EqualsConstraint(Object reference) {
 16  886 super("eq", reference);
 17    }
 18   
 19    /**
 20    * @param object the object to check
 21    * @returns true if object.equals(reference)
 22    */
 23  610 public boolean passes(Object object) {
 24  610 return(getReference().objectEquals(object));
 25    }
 26    }