ExternalLinkUtils { static String getURLForTopic(final String topic, final Props azkProps) { return azkProps.getString( Constants.ConfigurationKeys.AZKABAN_SERVER_EXTERNAL_TOPIC_URL.replace("${topic}", topic), ""); }  static String getExternalAnalyzerOnReq(final Props azkProps,
      final HttpServletRequest req); static String getExternalLogViewer(final Props azkProps, final String jobId,
      final Props jobProps);  }
@Test public void testFetchURL() { this.azkProps.put(Constants.ConfigurationKeys.AZKABAN_SERVER_EXTERNAL_TOPIC_URL .replace("${topic}", "someTopic"), "This is a link"); assertTrue( ExternalLinkUtils.getURLForTopic("someTopic", this.azkProps).equals("This is a link")); }