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