@Test
  public void hashCodeString() {
    assertThat(Objects.hashCode("")).isEqualTo(0);
    assertThat(Objects.hashCode("0")).isEqualTo(48);
    assertThat(Objects.hashCode("9")).isEqualTo(57);
    assertThat(Objects.hashCode("a")).isEqualTo(97);
    assertThat(Objects.hashCode("z")).isEqualTo(122);
    assertThat(Objects.hashCode("A")).isEqualTo(65);
    assertThat(Objects.hashCode("Z")).isEqualTo(90);

    assertThat(Objects.hashCode("supercalifragilisticexpialidocious")).isEqualTo(1077910243);

    assertThat(Objects.hashCode("You had me at meat tornad\u00F6!\uDB80\uDC00"))
        .isEqualTo(1544552287);

    assertThat(Objects.hashCode("You had me at\0meat tornad\u00F6!\uDB80\uDC00"))
        .isEqualTo(701776767);

    assertThat(Objects.hashCode(
        "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor "
            + "incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud "
            + "exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute "
            + "irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla "
            + "pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia "
            + "deserunt mollit anim id est laborum."))
                .isEqualTo(512895612);

    assertThat(Objects.hashCode(
        "\u16bb\u16d6\u0020\u16b3\u16b9\u16ab\u16a6\u0020\u16a6\u16ab\u16cf\u0020\u16bb\u16d6"
            + "\u0020\u16d2\u16a2\u16de\u16d6\u0020\u16a9\u16be\u0020\u16a6\u16ab\u16d7\u0020\u16da"
            + "\u16aa\u16be\u16de\u16d6\u0020\u16be\u16a9\u16b1\u16a6\u16b9\u16d6\u16aa\u16b1\u16de"
            + "\u16a2\u16d7\u0020\u16b9\u16c1\u16a6\u0020\u16a6\u16aa\u0020\u16b9\u16d6\u16e5\u16ab"))
                .isEqualTo(-1425027716);
  }
The test serves two purposes:
<p>
Since Geode hashes rely heavily on the Java implementation hashes. If those were to differ
between version it could pose difficulties in routing or finding keys on the correct servers.
<p>
It also serves as a comparison for hashing in other languages that need to match the Java hash
algorithm for specific types.
geode-core/src/test/java/org/apache/geode/cache/util/ObjectsTest.java