### Question:
FileBrowserAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.FileBrowserListener { public void selectedFileRemoved(org.apache.pivot.wtk.FileBrowser arg0, java.io.File arg1) { if (selectedFileRemoved != null) { selectedFileRemoved.call(arg0, arg1); } }  CallableWithArgs<Void> getRootDirectoryChanged(); CallableWithArgs<Void> getSelectedFileAdded(); CallableWithArgs<Void> getSelectedFileRemoved(); CallableWithArgs<Void> getSelectedFilesChanged(); CallableWithArgs<Void> getMultiSelectChanged(); CallableWithArgs<Void> getDisabledFileFilterChanged(); void setRootDirectoryChanged(CallableWithArgs<Void> rootDirectoryChanged); void setSelectedFileAdded(CallableWithArgs<Void> selectedFileAdded); void setSelectedFileRemoved(CallableWithArgs<Void> selectedFileRemoved); void setSelectedFilesChanged(CallableWithArgs<Void> selectedFilesChanged); void setMultiSelectChanged(CallableWithArgs<Void> multiSelectChanged); void setDisabledFileFilterChanged(CallableWithArgs<Void> disabledFileFilterChanged); void rootDirectoryChanged(org.apache.pivot.wtk.FileBrowser arg0, java.io.File arg1); void selectedFileAdded(org.apache.pivot.wtk.FileBrowser arg0, java.io.File arg1); void selectedFileRemoved(org.apache.pivot.wtk.FileBrowser arg0, java.io.File arg1); void selectedFilesChanged(org.apache.pivot.wtk.FileBrowser arg0, org.apache.pivot.collections.Sequence<File> arg1); void multiSelectChanged(org.apache.pivot.wtk.FileBrowser arg0); void disabledFileFilterChanged(org.apache.pivot.wtk.FileBrowser arg0, org.apache.pivot.util.Filter<File> arg1);  }### Answer:
@Test public void testSelectedFileRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSelectedFileRemoved()); adapter.selectedFileRemoved(null, null); assertFalse(invoked[0]); adapter.setSelectedFileRemoved(callable); adapter.selectedFileRemoved(null, null); assertTrue(invoked[0]); }