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