### Question:
TextInputContentAdapter implements GriffonPivotAdapter, org.apache.pivot.wtk.TextInputContentListener { public void removeTextVetoed(org.apache.pivot.wtk.TextInput arg0, org.apache.pivot.util.Vote arg1) { if (removeTextVetoed != null) { removeTextVetoed.call(arg0, arg1); } }  CallableWithArgs<Void> getTextChanged(); CallableWithArgs<Vote> getPreviewInsertText(); CallableWithArgs<Void> getTextInserted(); CallableWithArgs<Void> getInsertTextVetoed(); CallableWithArgs<Vote> getPreviewRemoveText(); CallableWithArgs<Void> getTextRemoved(); CallableWithArgs<Void> getRemoveTextVetoed(); void setTextChanged(CallableWithArgs<Void> textChanged); void setPreviewInsertText(CallableWithArgs<Vote> previewInsertText); void setTextInserted(CallableWithArgs<Void> textInserted); void setInsertTextVetoed(CallableWithArgs<Void> insertTextVetoed); void setPreviewRemoveText(CallableWithArgs<Vote> previewRemoveText); void setTextRemoved(CallableWithArgs<Void> textRemoved); void setRemoveTextVetoed(CallableWithArgs<Void> removeTextVetoed); void textChanged(org.apache.pivot.wtk.TextInput arg0); org.apache.pivot.util.Vote previewInsertText(org.apache.pivot.wtk.TextInput arg0, java.lang.CharSequence arg1, int arg2); void textInserted(org.apache.pivot.wtk.TextInput arg0, int arg1, int arg2); void insertTextVetoed(org.apache.pivot.wtk.TextInput arg0, org.apache.pivot.util.Vote arg1); org.apache.pivot.util.Vote previewRemoveText(org.apache.pivot.wtk.TextInput arg0, int arg1, int arg2); void textRemoved(org.apache.pivot.wtk.TextInput arg0, int arg1, int arg2); void removeTextVetoed(org.apache.pivot.wtk.TextInput arg0, org.apache.pivot.util.Vote arg1);  }### Answer:
@Test public void testRemoveTextVetoed() { final boolean[] invoked = new boolean[1]; CallableWithArgs<Void> callable = new CallableWithArgs<Void>() { public Void call(Object... args) { invoked[0] = true; return null; } }; assertNull(adapter.getRemoveTextVetoed()); adapter.removeTextVetoed(null, null); assertFalse(invoked[0]); adapter.setRemoveTextVetoed(callable); adapter.removeTextVetoed(null, null); assertTrue(invoked[0]); }