### Question:
LinkException extends RuntimeException { public LinkId getLinkId() { return linkId; } LinkException(LinkId linkId);  LinkException(String message, LinkId linkId);  LinkException(String message, Throwable cause, LinkId linkId);  LinkException(Throwable cause, LinkId linkId);  LinkException(
      String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, LinkId linkId
  ); LinkId getLinkId(); @Override String toString();  }### Answer:
@Test public void getLinkId() { assertThat(new LinkException(LinkId.of("foo")).getLinkId().value()).isEqualTo("foo"); }