@Test
public void testNewInstanceBadUrlProto() throws Exception {

    thrown.expect(IllegalArgumentException.class);
    thrown.expectMessage("HFCAClient only supports");
    HFCAClient.createNewInstance("file://localhost", null);
}