@Override
  public String toString() {
    return "NodeDetails{" +
      "type=" + type +
      ", name='" + name + '\'' +
      ", host='" + host + '\'' +
      ", port=" + port +
      ", startedAt=" + startedAt +
      '}';
  }
@Test
  public void verify_toString() {
    String name = randomAlphanumeric(3);
    String host = randomAlphanumeric(10);
    int port = 1 + random.nextInt(10);
    long startedAt = 1 + random.nextInt(666);

    NodeDetails underTest = builderUnderTest
      .setType(randomType)
      .setName(name)
      .setHost(host)
      .setPort(port)
      .setStartedAt(startedAt)
      .build();

    assertThat(underTest.toString())
      .isEqualTo("NodeDetails{type=" + randomType + ", name='" + name + "', host='" + host + "', port=" + port + ", startedAt=" + startedAt + "}");
  }