@Test(expected = IllegalArgumentException.class)
public void testGetPort_throwsExceptionWhenNoPortIsSpecifiedAndSchemeIsNotHttpOrHttps() throws Exception {

    MesosClient.getPort(URI.create("ftp://glavin/path"));
}