@Override
    public boolean register(final Application application) {
        try {
            if(finder.isInstalled(application)) {
                service.add(new FinderLocal(workspace.absolutePathForAppBundleWithIdentifier(application.getIdentifier())));
                return true;
            }
            return false;
        }
        catch(LocalAccessDeniedException e) {
            return false;
        }
    }
@Test
    @Ignore
    public void testRegister() {
        final SharedFileListApplicationLoginRegistry registry = new SharedFileListApplicationLoginRegistry(new LaunchServicesApplicationFinder());
        final Application application = new Application("ch.sudo.cyberduck");
        assertTrue(registry.register(application));
        assertTrue(new FinderSidebarService(SidebarService.List.login).contains(new FinderLocal(NSWorkspace.sharedWorkspace().absolutePathForAppBundleWithIdentifier(application.getIdentifier()))));
        assertTrue(registry.unregister(application));
    }