@Test
public void testNewInstanceNullName() throws Exception {

    thrown.expect(InvalidArgumentException.class);
    thrown.expectMessage("name must not be");
    HFCAClient.createNewInstance(null, "http://localhost:99", null);
}