@Override
    public void bounce(final Local file) {
        synchronized(NSWorkspace.class) {
            NSDistributedNotificationCenter.defaultCenter().postNotification(
                    NSNotification.notificationWithName("com.apple.DownloadFileFinished", file.getAbsolute())
            );
        }
    }
@Test
    public void testBounce() throws Exception {
        new WorkspaceApplicationLauncher().bounce(new NullLocal("t"));
        final NullLocal file = new NullLocal(System.getProperty("java.io.tmpdir"), UUID.randomUUID().toString());
        LocalTouchFactory.get().touch(file);
        new WorkspaceApplicationLauncher().bounce(file);
        file.delete();
    }