@Test
public void testResolveRelativeUri_usesSchemeHostAndPortFromLocation_defaultPort() throws Exception {

    final URI mesosUri = URI.create("http://127.1.0.1:5050/api/v1/scheduler");
    final String location = "//127.1.0.2";
    final URI actual = MesosClient.resolveRelativeUri(mesosUri, location);
    assertThat(actual).isEqualTo(URI.create("http://127.1.0.2/api/v1/scheduler"));
}