public SnapshotDto setBuildString(@Nullable String buildString) {
    checkLength(MAX_BUILD_STRING_LENGTH, buildString, "buildString");
    this.buildString = buildString;
    return this;
  }
@Test
  void hashcode_whenDifferentInstanceWithDifferentValues_shouldNotBeEqual() {
    SnapshotDto snapshotDto1 = create();
    SnapshotDto snapshotDto2 = create().setBuildString("some-other-string");
    assertThat(snapshotDto1).doesNotHaveSameHashCodeAs(snapshotDto2);
  }