  @Test
  public void apiHost_shouldRemoveScheme() {

    Config c = newConfig("hostwithhttp.com:1234");
    assertThat(c.getApiHost()).isEqualTo("hostwithhttp.com:1234");

    assertThat( newConfig("http://example.com").getApiHost()).isEqualTo("example.com");
    assertThat( newConfig("https://other.com:1234").getApiHost()).isEqualTo("other.com:1234");

  }