Code example for ComparisonFailure

0
     * is correctly reported as a failure and not as an error in the Test  
     * Runner when Cactus is used. 
     */ 
    public void testComparisonFailure() 
    { 
        throw new ComparisonFailure("test comparison failure", "some value", 
            "other value"); 
    } 
 
}