@Override
  public boolean equals(Object obj) {
    if (!(obj instanceof HpkeTestId)) {
      return false;
    }
    HpkeTestId testId = (HpkeTestId) obj;
    return Arrays.equals(this.mode, testId.mode)
        && Arrays.equals(this.kemId, testId.kemId)
        && Arrays.equals(this.kdfId, testId.kdfId)
        && Arrays.equals(this.aeadId, testId.aeadId);
  }
Helper class for identifying different test cases.
java_src/src/main/java/com/google/crypto/tink/testing/HpkeTestId.java