### Question:
TabPaneAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TabPaneListener { public void tabDataRendererChanged(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.wtk.Button.DataRenderer arg1) { if (tabDataRendererChanged != null) { tabDataRendererChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getTabInserted(); CallableWithArgs<Vote> getPreviewRemoveTabs(); CallableWithArgs<Void> getRemoveTabsVetoed(); CallableWithArgs<Void> getTabsRemoved(); CallableWithArgs<Void> getTabDataRendererChanged(); CallableWithArgs<Void> getCloseableChanged(); CallableWithArgs<Void> getCollapsibleChanged(); CallableWithArgs<Void> getCornerChanged(); void setTabInserted(CallableWithArgs<Void> tabInserted); void setPreviewRemoveTabs(CallableWithArgs<Vote> previewRemoveTabs); void setRemoveTabsVetoed(CallableWithArgs<Void> removeTabsVetoed); void setTabsRemoved(CallableWithArgs<Void> tabsRemoved); void setTabDataRendererChanged(CallableWithArgs<Void> tabDataRendererChanged); void setCloseableChanged(CallableWithArgs<Void> closeableChanged); void setCollapsibleChanged(CallableWithArgs<Void> collapsibleChanged); void setCornerChanged(CallableWithArgs<Void> cornerChanged); void tabInserted(org.apache.pivot.wtk.TabPane arg0, int arg1); org.apache.pivot.util.Vote previewRemoveTabs(org.apache.pivot.wtk.TabPane arg0, int arg1, int arg2); void removeTabsVetoed(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.util.Vote arg1); void tabsRemoved(org.apache.pivot.wtk.TabPane arg0, int arg1, org.apache.pivot.collections.Sequence<Component> arg2); void tabDataRendererChanged(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.wtk.Button.DataRenderer arg1); void closeableChanged(org.apache.pivot.wtk.TabPane arg0); void collapsibleChanged(org.apache.pivot.wtk.TabPane arg0); void cornerChanged(org.apache.pivot.wtk.TabPane arg0, org.apache.pivot.wtk.Component arg1);  }### Answer:
@Test public void testTabDataRendererChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getTabDataRendererChanged()); adapter.tabDataRendererChanged(null, null); assertFalse(invoked[0]); adapter.setTabDataRendererChanged(callable); adapter.tabDataRendererChanged(null, null); assertTrue(invoked[0]); }