TraceId { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("traceId", getApiString()) .toString(); } TraceId(BigInteger traceId); static TraceId invalid(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); boolean isValid(); BigInteger getTraceId(); String getApiString();  }
@Test public void testToString() { assertThat(first.toString()).isEqualTo("TraceId{traceId=0000000000000000000000000000000a}"); }