@Test
void testNoPolicies(final TemporaryFolder temporaryFolder) {

    PolicyWriter writer = new PolicyWriter(policyConverterRegistry, DocumentFileUtils.INSTANCE, JsonFileUtils.INSTANCE, new EntityLinkerRegistry(new HashSet<>()));
    Bundle bundle = new Bundle();
    bundle.addEntity(ROOT_FOLDER);
    bundle.setFolderTree(new FolderTree(bundle.getEntities(Folder.class).values()));
    writer.write(bundle, temporaryFolder.getRoot(), bundle);
    File policyFolder = new File(temporaryFolder.getRoot(), "policy");
    assertTrue(policyFolder.exists());
    assertEquals(0, policyFolder.listFiles().length);
}