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