@Override
  public String toString() {
    return "NodeHealth{" +
      "status=" + status +
      ", causes=" + causes +
      ", details=" + details +
      '}';
  }
@Test
  public void verify_toString() {
    NodeDetails nodeDetails = testSupport.randomNodeDetails();
    String cause = randomAlphanumeric(4);
    NodeHealth.Builder builder = builderUnderTest
      .setStatus(randomStatus)
      .setDetails(nodeDetails)
      .addCause(cause);

    NodeHealth underTest = builder.build();

    assertThat(underTest.toString())
      .isEqualTo("NodeHealth{status=" + randomStatus + ", causes=[" + cause + "], details=" + nodeDetails + "}");
  }