@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
    public void testRegisterNotInstalled() {
        final SharedFileListApplicationLoginRegistry registry = new SharedFileListApplicationLoginRegistry(new DisabledApplicationFinder());
        assertFalse(registry.register(new Application("ch.sudo.cyberduck")));
    }