### Question:
TableViewSortAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TableViewSortListener { public void sortRemoved(org.apache.pivot.wtk.TableView arg0, java.lang.String arg1, org.apache.pivot.wtk.SortDirection arg2) { if (sortRemoved != null) { sortRemoved.call(arg0, arg1, arg2); } }  CallableWithArgs<Void> getSortChanged(); CallableWithArgs<Void> getSortAdded(); CallableWithArgs<Void> getSortUpdated(); CallableWithArgs<Void> getSortRemoved(); void setSortChanged(CallableWithArgs<Void> sortChanged); void setSortAdded(CallableWithArgs<Void> sortAdded); void setSortUpdated(CallableWithArgs<Void> sortUpdated); void setSortRemoved(CallableWithArgs<Void> sortRemoved); void sortChanged(org.apache.pivot.wtk.TableView arg0); void sortAdded(org.apache.pivot.wtk.TableView arg0, java.lang.String arg1); void sortUpdated(org.apache.pivot.wtk.TableView arg0, java.lang.String arg1, org.apache.pivot.wtk.SortDirection arg2); void sortRemoved(org.apache.pivot.wtk.TableView arg0, java.lang.String arg1, org.apache.pivot.wtk.SortDirection arg2);  }### Answer:
@Test public void testSortRemoved() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSortRemoved()); adapter.sortRemoved(null, null, null); assertFalse(invoked[0]); adapter.setSortRemoved(callable); adapter.sortRemoved(null, null, null); assertTrue(invoked[0]); }