public String getDashboardUrl() {
    verifyInitialized();
    return dashboardUrl;
  }
@Test
  public void getDashboardUrl_should_fail_if_not_initialized() {
    assertThatThrownBy(() -> underTest.getDashboardUrl())
      .isInstanceOf(IllegalStateException.class);
  }