@Test
public void testNewInstanceNoUrlHost() throws Exception {

    thrown.expect(IllegalArgumentException.class);
    thrown.expectMessage("HFCAClient url needs host");
    HFCAClient.createNewInstance("http://:99", null);
}