@Override
    public List<StorageEntity> filter() {
        return new ArrayList<>(listAllParent());
    }
@Test
    public void filterTest() {
        List<StorageEntity> allList = new ArrayList<>();

        StorageEntity resource1 = new StorageEntity();
        resource1.setFullName("a1.txt");
        StorageEntity resource2 = new StorageEntity();
        resource2.setFullName("b1.txt");
        StorageEntity resource3 = new StorageEntity();
        resource3.setFullName("b2.jar");
        StorageEntity resource4 = new StorageEntity();
        resource4.setFullName("c2.jar");
        allList.add(resource1);
        allList.add(resource2);
        allList.add(resource3);
        allList.add(resource4);

        ResourceFilter resourceFilter = new ResourceFilter(".jar", allList);
        List<StorageEntity> resourceList = resourceFilter.filter();
        Assertions.assertNotNull(resourceList);
        resourceList.forEach(t -> logger.info(t.toString()));
    }