@Test
@ExtendWith(TemporaryFolderExtension.class)
void getPolicyRootDirPolicyFileErrorTest(TemporaryFolder temporaryFolder) throws IOException {

    temporaryFolder.createFile("policy");
    assertThrows(ConfigLoadException.class, () -> getPolicyRootDir(temporaryFolder.getRoot()));
}