void () { for (int size : new int[]{0, 1, 2, 3, 4, 10, 11, 12}) { UnmodifiableHashMap<Integer, String> map = create(size); HashMap<Integer, String> hashMap = new HashMap<>(map); assertEquals(hashMap.hashCode(), map.hashCode()); } }