@Override
    public boolean test(final Path test) {
        return this.equals(new DefaultPathPredicate(test));
    }
@Test
    public void testPredicateFileIdFile() {
        final Path t = new Path("/f", EnumSet.of(Path.Type.file), new PathAttributes().withFileId("1"));
        assertTrue(new DefaultPathPredicate(t).test(t));
        assertTrue(new DefaultPathPredicate(t).test(new Path("/f", EnumSet.of(Path.Type.file), new PathAttributes().withFileId("1"))));
        assertFalse(new DefaultPathPredicate(t).test(new Path("/f", EnumSet.of(Path.Type.file), new PathAttributes().withFileId("2"))));
    }