### Question:
ClipboardContentAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.ClipboardContentListener { public void contentChanged(org.apache.pivot.wtk.LocalManifest arg0) { if (contentChanged != null) { contentChanged.call(arg0); } }  CallableWithArgs<Void> getContentChanged(); void setContentChanged(CallableWithArgs<Void> contentChanged); void contentChanged(org.apache.pivot.wtk.LocalManifest arg0);  }### 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); assertFalse(invoked[0]); adapter.setContentChanged(callable); adapter.contentChanged(null); assertTrue(invoked[0]); }