@Test
void filter() {

    BundleFilter bundleFilter = new BundleFilter(new EntityFilterRegistry(Collections.emptySet()));
    Bundle bundle = FilterTestUtils.getBundle();
    Bundle filteredBundle = bundleFilter.filter("/my/folder/path", new FilterConfiguration(), bundle);
    assertEquals(1, filteredBundle.getEntities(Folder.class).size());
    assertNotNull(filteredBundle.getFolderTree());
}