@Test
public void testGetExternalLogViewerValidFormat() {

  this.azkProps.put(Constants.ConfigurationKeys.AZKABAN_SERVER_EXTERNAL_LOGVIEWER_TOPIC,
      EXTERNAL_LOGVIEWER_TOPIC);
  this.azkProps.put(
      Constants.ConfigurationKeys.AZKABAN_SERVER_EXTERNAL_TOPIC_URL
          .replace("${topic}", EXTERNAL_LOGVIEWER_TOPIC),
      EXTERNAL_LOGVIEWER_URL_VALID_FORMAT);
  final String externalURL =
      ExternalLinkUtils.getExternalLogViewer(this.azkProps, this.jobId, this.jobProps);
  assertTrue(externalURL.equals(EXTERNAL_LOGVIEWER_EXPECTED_URL));
}