@Test
public void TestPolicyUpdaterEmptyDomainList() throws Exception {

    PolicyUpdaterConfiguration configuration = new PolicyUpdaterConfiguration();
    configuration.init(pathToAthenzConfigFile, pathToZPUEmptyConfigFile);
    configuration.setPolicyFileDir("./target/classes");
    
    try {
        PolicyUpdater.policyUpdater(configuration, new DebugZTSClientFactory());
        Assert.fail();
    } catch (Exception ex) {
        Assert.assertTrue(ex.getMessage().contains("no configured domains"));
    }
}