public final void testEqualsObject(){
  CodeSigner one=new CodeSigner(cpath,ts);
  CodeSigner two=new CodeSigner(cpath,ts);
  CodeSigner three=new CodeSigner(cpath,null);
  CertPath cpath2=TestCertUtils.genCertPath(5,3);
  CodeSigner four=new CodeSigner(cpath2,null);
  assertTrue(one.equals(one));
  assertTrue(one.equals(two));
  assertTrue(two.equals(one));
  assertFalse(one.equals(three));
  assertFalse(three.equals(one));
  assertTrue(three.equals(three));
  assertFalse(three.equals(four));
  assertFalse(one.equals(null));
  assertFalse(one.equals(new Object()));
}

public final void testEqualsObject ( ) { CodeSigner one = new CodeSigner ( cpath , ts ) ; CodeSigner two = new CodeSigner ( cpath , ts ) ; CodeSigner three = new CodeSigner ( cpath , null ) ; CertPath cpath2 = TestCertUtils . genCertPath ( 5 , 3 ) ; CodeSigner four = new CodeSigner ( cpath2 , null ) ; assertTrue ( one . equals ( one ) ) ; assertTrue ( one . equals ( two ) ) ; assertTrue ( two . equals ( one ) ) ; assertFalse ( one . equals ( three ) ) ; assertFalse ( three . equals ( one ) ) ; assertTrue ( three . equals ( three ) ) ; assertFalse ( three . equals ( four ) ) ; assertFalse ( one . equals ( null ) ) ; assertFalse ( one . equals ( new Object ( ) ) ) ; }
test various assertions about equals ( )
