@Test public void testClone() { OpenShortShortHashMap map = new OpenShortShortHashMap(); map.put((short) 11, (short) 22); OpenShortShortHashMap map2 = (OpenShortShortHashMap) map.clone(); map.clear(); assertEquals(1, map2.size()); }
@Test public void testClone() { OpenShortShortHashMap map = new OpenShortShortHashMap(); map.put((short) 11, (short) 22); OpenShortShortHashMap map2 = (OpenShortShortHashMap) map.clone(); map.clear(); assertEquals(1, map2.size()); }