@Test
public void hashJsonMaps() {

    Map<String, String> asc = new TreeMap<>();
    for (int i = 0; i < 50; i++) {
        asc.put(UUID.randomUUID().toString(), UUID.randomUUID().toString());
    }
    Map<String, String> desc = new TreeMap<>(Comparator.reverseOrder());
    desc.putAll(asc);
    Map<String, String> juh = new HashMap<>();
    juh.putAll(asc);
    Map<String, String> chm = new ConcurrentHashMap<>();
    chm.putAll(juh);
    assertNotEquals(asc.toString(), desc.toString());
    assertNotEquals(asc.toString(), juh.toString());
    assertNotEquals(asc.toString(), chm.toString());
    long ascH = GsonSerializers.hashJson(asc, 0);
    long descH = GsonSerializers.hashJson(desc, 0);
    long juhH = GsonSerializers.hashJson(juh, 0);
    long chmH = GsonSerializers.hashJson(chm, 0);
    assertEquals(ascH, descH);
    assertEquals(ascH, juhH);
    assertEquals(ascH, chmH);
}