### Question:
BorderAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.BorderListener { public void contentChanged(org.apache.pivot.wtk.Border arg0, org.apache.pivot.wtk.Component arg1) { if (contentChanged != null) { contentChanged.call(arg0, arg1); } }  CallableWithArgs<Void> getTitleChanged(); CallableWithArgs<Void> getContentChanged(); void setTitleChanged(CallableWithArgs<Void> titleChanged); void setContentChanged(CallableWithArgs<Void> contentChanged); void titleChanged(org.apache.pivot.wtk.Border arg0, java.lang.String arg1); void contentChanged(org.apache.pivot.wtk.Border arg0, org.apache.pivot.wtk.Component arg1);  }### Answer:
@Test public void testContentChanged() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getContentChanged()); adapter.contentChanged(null, null); assertFalse(invoked[0]); adapter.setContentChanged(callable); adapter.contentChanged(null, null); assertTrue(invoked[0]); }