public String getMessage() {
    return String.format("[%s] %s", checkName, getMessageWithoutCheckName());
  }
@Test
  public void customLink() {
    Description description =
        new CustomLinkChecker()
            .buildDescription((DiagnosticPosition) new MockTree())
            .setMessage("custom message")
            .build();
    assertThat(description.getMessage())
        .isEqualTo("[CustomLinkChecker] custom message\n  (see https://www.google.com/)");
  }