@Test
 public void testCopy() {
   OpenDoubleObjectHashMap<TestClass> map = new OpenDoubleObjectHashMap<TestClass>();
   map.put((double) 11, item);
   OpenDoubleObjectHashMap<TestClass> map2 = (OpenDoubleObjectHashMap<TestClass>) map.copy();
   map.clear();
   assertEquals(1, map2.size());
 }
 @Test
 public void testEquals() {
   // since there are no other subclasses of
   // Abstractxxx available, we have to just test the
   // obvious.
   OpenDoubleObjectHashMap<TestClass> map = new OpenDoubleObjectHashMap<TestClass>();
   map.put((double) 11, anotherItem);
   map.put((double) 12, anotherItem2);
   map.put((double) 13, anotherItem3);
   map.put((double) 14, anotherItem4);
   map.removeKey((double) 13);
   OpenDoubleObjectHashMap<TestClass> map2 = (OpenDoubleObjectHashMap<TestClass>) map.copy();
   assertEquals(map, map2);
   assertTrue(map2.equals(map));
   assertFalse("Hello Sailor".equals(map));
   assertFalse(map.equals("hello sailor"));
   map2.removeKey((double) 11);
   assertFalse(map.equals(map2));
   assertFalse(map2.equals(map));
 }