### Question:
ParametersPopoverImpl extends AbstractPopoverImpl<ParametersPopoverView, HasParametersControl> implements ParametersPopoverView.Presenter { @Override public void bind(final HasParametersControl bound, final int uiRowIndex, final int uiColumnIndex) { super.bind(bound, uiRowIndex, uiColumnIndex); binding.ifPresent(b -> view.setParameters(b.getParameters())); } ParametersPopoverImpl(); @Inject  ParametersPopoverImpl(final ParametersPopoverView view,
                                 final TranslationService translationService); @Override String getPopoverTitle(); @Override void bind(final HasParametersControl bound,
                     final int uiRowIndex,
                     final int uiColumnIndex); @Override void show(); @Override void addParameter(); @Override void removeParameter(final InformationItem parameter); @Override void updateParameterName(final InformationItem parameter,
                                    final String name); @Override void updateParameterTypeRef(final InformationItem parameter,
                                       final QName typeRef);  }### Answer:
@Test @SuppressWarnings("unchecked") public void testBindNullControl() { presenter.bind(null, ROW_INDEX, COLUMN_INDEX); verify(view, never()).setParameters(anyList()); }
@Test public void testBindNonNullControl() { presenter.bind(control, ROW_INDEX, COLUMN_INDEX); verify(view).setParameters(eq(parameters)); }
@Test public void testHideNonNullControl() { presenter.bind(control, ROW_INDEX, COLUMN_INDEX); presenter.hide(); verify(view).hide(); }