### Question:
SequenceGeneratorEditionDialog implements PropertyEditionPopup { void onCancel() { view.hide(); } @Inject  SequenceGeneratorEditionDialog(View view); @Override Widget asWidget(); @Override void show(); @Override void setOkCommand(Command okCommand); @Override void setProperty(PropertyEditorFieldInfo property); @Override String getStringValue(); @Override void setStringValue(String value);  }### Answer:
@Test public void testOnCancel() { dialog.onCancel(); verify(view).hide(); }