@Override
    public DescriptiveUrlBag toUrl(final Path file) {
        final DescriptiveUrlBag list = new DescriptiveUrlBag();
        if(file.attributes().getLink() != DescriptiveUrl.EMPTY) {
            list.add(file.attributes().getLink());
        }
        return list;
    }
@Test
    public void testToUrl() throws Exception {
        final DriveUrlProvider provider = new DriveUrlProvider();
        final Path test = new Path(DriveHomeFinderService.MYDRIVE_FOLDER, UUID.randomUUID().toString(), EnumSet.of(Path.Type.file));
        assertNotNull(provider.toUrl(test));
        assertTrue(provider.toUrl(test).isEmpty());
        new DriveTouchFeature(session, new DriveFileIdProvider(session)).touch(test, new TransferStatus());
//        assertFalse(provider.toDownloadUrl(test).isEmpty());
        new DriveDeleteFeature(session, new DriveFileIdProvider(session)).delete(Collections.singletonList(test), new DisabledLoginCallback(), new Delete.DisabledCallback());
    }