### Question:
NicknameDetails { public Nickname getNickname() { return nickname; } @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 nickname") void testContainsNickname() { Nickname nickname = new Nickname("The Rock"); detailsToTest = new NicknameDetails(nickname, Instant.now()); assertEquals(nickname, detailsToTest.getNickname()); }