### Question:
TreeViewSelectionAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TreeViewSelectionListener { public void selectedPathsChanged(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence<Sequence.Tree.Path> arg1) { if (selectedPathsChanged != null) { selectedPathsChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getSelectedPathsChanged(); CallableWithArgs<Void> getSelectedNodeChanged(); CallableWithArgs<Void> getSelectedPathAdded(); CallableWithArgs<Void> getSelectedPathRemoved(); void setSelectedPathsChanged(CallableWithArgs<Void> selectedPathsChanged); void setSelectedNodeChanged(CallableWithArgs<Void> selectedNodeChanged); void setSelectedPathAdded(CallableWithArgs<Void> selectedPathAdded); void setSelectedPathRemoved(CallableWithArgs<Void> selectedPathRemoved); void selectedPathsChanged(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence<Sequence.Tree.Path> arg1); void selectedNodeChanged(org.apache.pivot.wtk.TreeView arg0, java.lang.Object arg1); void selectedPathAdded(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1); void selectedPathRemoved(org.apache.pivot.wtk.TreeView arg0, org.apache.pivot.collections.Sequence.Tree.Path arg1);  }### Answer:
@Test public void testSelectedPathsChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSelectedPathsChanged()); adapter.selectedPathsChanged(null, null); assertFalse(invoked[0]); adapter.setSelectedPathsChanged(callable); adapter.selectedPathsChanged(null, null); assertTrue(invoked[0]); }