### Question:
SuggestionPopupAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.SuggestionPopupListener { public void suggestionRendererChanged(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.wtk.ListView.ItemRenderer arg1) { if (suggestionRendererChanged != null) { suggestionRendererChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getListSizeChanged(); CallableWithArgs<Void> getSuggestionDataChanged(); CallableWithArgs<Void> getSuggestionRendererChanged(); void setListSizeChanged(CallableWithArgs<Void> listSizeChanged); void setSuggestionDataChanged(CallableWithArgs<Void> suggestionDataChanged); void setSuggestionRendererChanged(CallableWithArgs<Void> suggestionRendererChanged); void listSizeChanged(org.apache.pivot.wtk.SuggestionPopup arg0, int arg1); void suggestionDataChanged(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.collections.List<?> arg1); void suggestionRendererChanged(org.apache.pivot.wtk.SuggestionPopup arg0, org.apache.pivot.wtk.ListView.ItemRenderer arg1);  }### Answer:
@Test public void testSuggestionRendererChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getSuggestionRendererChanged()); adapter.suggestionRendererChanged(null, null); assertFalse(invoked[0]); adapter.setSuggestionRendererChanged(callable); adapter.suggestionRendererChanged(null, null); assertTrue(invoked[0]); }