@Test
public void testHashCode() {

  final Object[][] testParameters = new Object[][] {{"Hello", null, 69609650},
      {null, "Hello", 69609650}, {"Hello", "World", 153375780}, {"World", "Hello", 153375780}};
  for (final Object[] testParameter : testParameters) {
    int expected = (Integer) testParameter[2];
    String v1 = (String) testParameter[0];
    String v2 = (String) testParameter[1];
    assertEquals(expected, new Pair<String, String>(v1, v2).hashCode());
  }
}