### Question:
AssigneeLiveSearchEntryCreationEditor implements InlineCreationEditor<String>,
                                                              AssigneeLiveSearchEntryCreationEditorView.Presenter { @Override public void onCancel() { view.clear(); cancelCommand.execute(); } @Inject  AssigneeLiveSearchEntryCreationEditor(AssigneeLiveSearchEntryCreationEditorView view, TranslationService translationService); void setCustomEntryCommand(ParameterizedCommand<String> customEntryCommand); @Override void init(ParameterizedCommand<LiveSearchEntry<String>> okCommand, Command cancelCommand); @Override void clear(); @Override void onAccept(); @Override void onCancel(); @Override HTMLElement getElement(); @Override String getFieldLabel();  }### Answer:
@Test public void testOnCancel() { editor.onCancel(); verify(view).clear(); verify(cancelCommand).execute(); }