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

    File root = new File(temporaryFolder.getRoot(), "a");
    File a = new File(root, "a");
    File b = new File(a, "b");
    File c = new File(b, "c");
    c.mkdirs();
    File policy = new File(c, "policy.xml");
    Files.touch(policy);
    String path = getPath(policy, root);
    assertEquals("a/b/c/policy.xml", path);
}