@Test public void testRemove() throws Exception { final WorkspaceIconService s = new WorkspaceIconService(); final Local file = new Local(PreferencesFactory.get().getProperty("tmp.dir"), UUID.randomUUID().toString()); assertFalse(s.remove(file)); LocalTouchFactory.get().touch(file); assertFalse(s.remove(file)); assertTrue(s.update(file, NSImage.imageWithContentsOfFile("../../img/download0.icns"))); assertTrue(s.remove(file)); file.delete(); }
@Override public boolean remove(final Local file) { return this.update(file, null); }
WorkspaceIconService implements IconService { @Override public boolean remove(final Local file) { return this.update(file, null); } }
WorkspaceIconService implements IconService { @Override public boolean remove(final Local file) { return this.update(file, null); }  }
WorkspaceIconService implements IconService { @Override public boolean remove(final Local file) { return this.update(file, null); }  @Override boolean set(final Local file, final String image); @Override boolean set(final Local file, final TransferStatus status); @Override boolean remove(final Local file); }
WorkspaceIconService implements IconService { @Override public boolean remove(final Local file) { return this.update(file, null); }  @Override boolean set(final Local file, final String image); @Override boolean set(final Local file, final TransferStatus status); @Override boolean remove(final Local file);  }