### Question:
NicknameDetails { public long getSequenceNumber() { return changed.toEpochMilli(); } @ConstructorProperties({ "nickname", "changed" })  NicknameDetails(Nickname nickname, Instant changed); Nickname getNickname(); long getSequenceNumber(); Instant getChanged(); @Override boolean equals(final Object other); @Override int hashCode(); @Override String toString();  }### Answer:
@Test @DisplayName("contains offset as epoch milliseconds") void testContainsSequenceNumber() { long expectedSequenceNumber = Instant.now().toEpochMilli(); detailsToTest = new NicknameDetails(new Nickname("The Rock"), Instant.ofEpochMilli(expectedSequenceNumber)); assertEquals(expectedSequenceNumber, detailsToTest.getSequenceNumber()); }