@Test public void testInit() { comboBox.init(modelPresenter, processVarNotifyModelChanges, listBox, textBox, processVarQuoteStringValues, processVarAddCustomValues, processVarConstantPrompt, processVarConstantPlaceholder); verify(view).init(comboBox, modelPresenter, listBox, textBox, processVarConstantPlaceholder); }
@Override public void init(final ComboBoxView.ModelPresenter modelPresenter, final boolean notifyModelChanges, final ValueListBox<String> listBox, final TextBox textBox, final boolean quoteStringValues, final boolean addCustomValues, final String customPrompt, final String placeholder) { this.quoteStringValues = quoteStringValues; this.addCustomValues = addCustomValues; this.expressionPrompt = customPrompt; this.modelPresenter = modelPresenter; this.notifyModelChanges = notifyModelChanges; view.init(this, modelPresenter, listBox, textBox, placeholder); }
ComboBox implements ComboBoxView.ComboBoxPresenter { @Override public void init(final ComboBoxView.ModelPresenter modelPresenter, final boolean notifyModelChanges, final ValueListBox<String> listBox, final TextBox textBox, final boolean quoteStringValues, final boolean addCustomValues, final String customPrompt, final String placeholder) { this.quoteStringValues = quoteStringValues; this.addCustomValues = addCustomValues; this.expressionPrompt = customPrompt; this.modelPresenter = modelPresenter; this.notifyModelChanges = notifyModelChanges; view.init(this, modelPresenter, listBox, textBox, placeholder); } }
ComboBox implements ComboBoxView.ComboBoxPresenter { @Override public void init(final ComboBoxView.ModelPresenter modelPresenter, final boolean notifyModelChanges, final ValueListBox<String> listBox, final TextBox textBox, final boolean quoteStringValues, final boolean addCustomValues, final String customPrompt, final String placeholder) { this.quoteStringValues = quoteStringValues; this.addCustomValues = addCustomValues; this.expressionPrompt = customPrompt; this.modelPresenter = modelPresenter; this.notifyModelChanges = notifyModelChanges; view.init(this, modelPresenter, listBox, textBox, placeholder); }  }
ComboBox implements ComboBoxView.ComboBoxPresenter { @Override public void init(final ComboBoxView.ModelPresenter modelPresenter, final boolean notifyModelChanges, final ValueListBox<String> listBox, final TextBox textBox, final boolean quoteStringValues, final boolean addCustomValues, final String customPrompt, final String placeholder) { this.quoteStringValues = quoteStringValues; this.addCustomValues = addCustomValues; this.expressionPrompt = customPrompt; this.modelPresenter = modelPresenter; this.notifyModelChanges = notifyModelChanges; view.init(this, modelPresenter, listBox, textBox, placeholder); }  @Override void init(final ComboBoxView.ModelPresenter modelPresenter,
                     final boolean notifyModelChanges,
                     final ValueListBox<String> listBox,
                     final TextBox textBox,
                     final boolean quoteStringValues,
                     final boolean addCustomValues,
                     final String customPrompt,
                     final String placeholder); @Override String getValue(); @Override void setListBoxValues(final ListBoxValues listBoxValues); @Override void setShowCustomValues(final boolean showCustomValues); @Override void setAddCustomValues(final boolean addCustomValues); @Override void setCurrentTextValue(final String currentTextValue); @Override ListBoxValues getListBoxValues(); @Override void updateListBoxValues(final String listBoxValue); @Override void listBoxValueChanged(final String newValue); @Override void textBoxValueChanged(String newValue); @Override String addCustomValueToListBoxValues(String newValue,
                                                String oldValue); void setTextBoxValue(final String value); void setListBoxValue(final String value); @Override void setReadOnly(final boolean readOnly); void notifyModelChanged(); }
ComboBox implements ComboBoxView.ComboBoxPresenter { @Override public void init(final ComboBoxView.ModelPresenter modelPresenter, final boolean notifyModelChanges, final ValueListBox<String> listBox, final TextBox textBox, final boolean quoteStringValues, final boolean addCustomValues, final String customPrompt, final String placeholder) { this.quoteStringValues = quoteStringValues; this.addCustomValues = addCustomValues; this.expressionPrompt = customPrompt; this.modelPresenter = modelPresenter; this.notifyModelChanges = notifyModelChanges; view.init(this, modelPresenter, listBox, textBox, placeholder); }  @Override void init(final ComboBoxView.ModelPresenter modelPresenter,
                     final boolean notifyModelChanges,
                     final ValueListBox<String> listBox,
                     final TextBox textBox,
                     final boolean quoteStringValues,
                     final boolean addCustomValues,
                     final String customPrompt,
                     final String placeholder); @Override String getValue(); @Override void setListBoxValues(final ListBoxValues listBoxValues); @Override void setShowCustomValues(final boolean showCustomValues); @Override void setAddCustomValues(final boolean addCustomValues); @Override void setCurrentTextValue(final String currentTextValue); @Override ListBoxValues getListBoxValues(); @Override void updateListBoxValues(final String listBoxValue); @Override void listBoxValueChanged(final String newValue); @Override void textBoxValueChanged(String newValue); @Override String addCustomValueToListBoxValues(String newValue,
                                                String oldValue); void setTextBoxValue(final String value); void setListBoxValue(final String value); @Override void setReadOnly(final boolean readOnly); void notifyModelChanged();  }