Emailer extends AbstractMailer implements Alerter { public String getAzkabanURL() { return this.scheme + ": } @Inject  Emailer(final Props props, final CommonMetrics commonMetrics,
      final EmailMessageCreator messageCreator, final ExecutorLoader executorLoader); String getAzkabanURL(); void sendEmail(final List<String> emailList, final String subject, final String body); @Override void alertOnSla(final SlaOption slaOption, final String slaMessage); @Override void alertOnFirstError(final ExecutableFlow flow); @Override void alertOnError(final ExecutableFlow flow, final String... extraReasons); @Override void alertOnSuccess(final ExecutableFlow flow); @Override void alertOnFailedUpdate(final Executor executor, List<ExecutableFlow> flows,
      final ExecutorManagerException updateException); @Override void alertOnFailedExecutorHealthCheck(final Executor executor,
      final List<ExecutableFlow> flows, final ExecutorManagerException failureException,
      final List<String> emailList); void sendEmail(final EmailMessage message, final boolean mailCreated,
      final String operation);  }
@Test public void testGetAzkabanURL() { final CommonMetrics commonMetrics = new CommonMetrics(new MetricsManager(new MetricRegistry())); final Emailer emailer = new Emailer(this.props, commonMetrics, this.messageCreator, this.executorLoader); assertThat(emailer.getAzkabanURL()).isEqualTo("http: }