### Question:
BsonTimestamp implements Bson, Comparable<BsonTimestamp> { @Override public String toString() { return "BsonTimestamp[value=" + getValue() + ", seconds=" + getTime() + ", inc=" + getInc() + "]"; } protected  BsonTimestamp();  BsonTimestamp(long value);  BsonTimestamp(Instant instant, int increment); long getValue(); int getTime(); int getInc(); @Override String toString(); @Override int compareTo(BsonTimestamp other); @Override boolean equals(final Object o); @Override int hashCode();  }### Answer:
@Test void testToString() throws Exception { assertThat(new BsonTimestamp(Instant.ofEpochSecond(123), 456)) .hasToString("BsonTimestamp[value=528280977864, seconds=123, inc=456]"); }