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

    Map<String,String> configs = new HashMap<>();
    configs.put(NiFiRegistryConfigs.NIFI_REG_URL, null);
    configs.put(NiFiRegistryConfigs.NIFI_REG_AUTHENTICATION_TYPE, NiFiRegistryAuthType.NONE.name());
    NiFiRegistryConnectionMgr.getNiFiRegistryClient("nifi-registry", configs);
}