AlertService { String docURL(String kibanaIndex, String id) { return format("{}/app/kibana#/doc/{}-pattern/{}-*?id={}&_g=()", kibanaURL, kibanaIndex, kibanaIndex, id); } AlertService(AlertConfig config); void process(Alert alert);  }
@Test void docURL() { assertThat(service.docURL("test", "test-id")).isEqualTo("http: }