@Test public void testOnAddDeviceButtonClicked() { uut.onAddDeviceButtonClicked(selectEventMock); verify(toolDeviceListEditorMock).addDevice(); }
@UiHandler("addDeviceButton") void onAddDeviceButtonClicked(SelectEvent event) { deviceListEditor.addDevice(); }
ToolContainerEditor extends Composite implements Editor<ToolContainer> { @UiHandler("addDeviceButton") void onAddDeviceButtonClicked(SelectEvent event) { deviceListEditor.addDevice(); } }
ToolContainerEditor extends Composite implements Editor<ToolContainer> { @UiHandler("addDeviceButton") void onAddDeviceButtonClicked(SelectEvent event) { deviceListEditor.addDevice(); } @Inject  ToolContainerEditor(ToolAdminView.ToolAdminViewAppearance appearance,
                               ToolDeviceListEditor deviceListEditor,
                               ToolVolumeListEditor containerVolumesEditor,
                               ToolVolumesFromListEditor containerVolumesFromEditor,
                               ToolImageEditor toolImageEditor); }
ToolContainerEditor extends Composite implements Editor<ToolContainer> { @UiHandler("addDeviceButton") void onAddDeviceButtonClicked(SelectEvent event) { deviceListEditor.addDevice(); } @Inject  ToolContainerEditor(ToolAdminView.ToolAdminViewAppearance appearance,
                               ToolDeviceListEditor deviceListEditor,
                               ToolVolumeListEditor containerVolumesEditor,
                               ToolVolumesFromListEditor containerVolumesFromEditor,
                               ToolImageEditor toolImageEditor); boolean isValid(); }
ToolContainerEditor extends Composite implements Editor<ToolContainer> { @UiHandler("addDeviceButton") void onAddDeviceButtonClicked(SelectEvent event) { deviceListEditor.addDevice(); } @Inject  ToolContainerEditor(ToolAdminView.ToolAdminViewAppearance appearance,
                               ToolDeviceListEditor deviceListEditor,
                               ToolVolumeListEditor containerVolumesEditor,
                               ToolVolumesFromListEditor containerVolumesFromEditor,
                               ToolImageEditor toolImageEditor); boolean isValid();  }