KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > junitx > extensions > EqualsHashCodeTestCaseTest


1 package junitx.extensions;
2
3 /**
4  * @version $Revision: 1.1 $ $Date: 2003/02/05 10:27:29 $
5  * @author <a HREF="mailto:pholser@yahoo.com">Paul Holser</a>
6  */

7 public class EqualsHashCodeTestCaseTest
8         extends EqualsHashCodeTestCase {
9
10     public EqualsHashCodeTestCaseTest(String JavaDoc name) {
11         super(name);
12     }
13
14     protected Object JavaDoc createInstance() {
15         return new Foo(1);
16     }
17
18     protected Object JavaDoc createNotEqualInstance() {
19         return new Foo(2);
20     }
21 }
22
Popular Tags