@@ -0,0 +1,1081 @@
+package org.flymine.util;%0A%0A/*%0A * Copyright (C) 2002-2003 FlyMine%0A *%0A * This code may be freely distributed and modified under the%0A * terms of the GNU Lesser General Public Licence.  This should%0A * be distributed with the code.  See the LICENSE file for more%0A * information or http://www.gnu.org/copyleft/lesser.html.%0A *%0A */%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class UtilTest extends TestCase%0A%7B%0A    public UtilTest(String arg) %7B%0A        super(arg);%0A    %7D%0A%0A    public void testEquals() %7B%0A        assertTrue(org.flymine.util.Util.equals(null, null));%0A        assertTrue(org.flymine.util.Util.equals(new Integer(10), new Integer(10)));%0A        assertTrue(org.flymine.util.Util.equals(new Integer(20), new Integer(10)) == false);%0A        assertTrue(org.flymine.util.Util.equals(null, new Integer(10)) == false);%0A        assertTrue(org.flymine.util.Util.equals(new Integer(10), null) == false);%0A    %7D%0A%0A    public void testHashCode() %7B%0A        assertTrue(org.flymine.util.Util.hashCode(null) == 0);%0A        assertTrue(org.flymine.util.Util.hashCode(new Integer(10)) != 0);%0A    %7D%0A%0A%7D%0A

test methods in Util