### Question:
Nickname { public String getValue() { return value; } @ConstructorProperties({ "value" })  Nickname(String value); static final Nickname of(String nickname); static final Nickname none(); String getValue(); boolean contains(CharSequence part); @Override boolean equals(final Object other); @Override int hashCode(); @Override String toString();  }### Answer:
@Test @DisplayName("contains the given value") void testContainsTheGivenValue() { String expectedValue = "Test Nickname"; nicknameToTest = new Nickname(expectedValue); assertEquals(expectedValue, nicknameToTest.getValue()); }