@Override
    public Local create(final Path file) {
        return this.create(new UUIDRandomStringService().random(), file);
    }
@Test
    public void testTemporaryPath() {
        final Path file = new Path("/f1/f2/t.txt", EnumSet.of(Path.Type.file));
        file.attributes().setDuplicate(true);
        file.attributes().setVersionId("1");
        final Local local = new DefaultTemporaryFileService().create(file);
        assertEquals("t.txt", file.getName());
        assertEquals("t.txt", local.getName());
        assertEquals("1744270094", local.getParent().getName());
        assertEquals("f2", local.getParent().getParent().getName());
        assertEquals("f1", local.getParent().getParent().getParent().getName());
    }