### Question:
HitPolicyPopoverViewImpl extends AbstractPopoverViewImpl implements HitPolicyPopoverView { @Override public void enableBuiltinAggregators(final boolean enabled) { enableSelect(lstBuiltinAggregator, enabled); } HitPolicyPopoverViewImpl(); @Inject  HitPolicyPopoverViewImpl(final Select lstHitPolicies,
                                    final Select lstBuiltinAggregator,
                                    final BuiltinAggregatorUtils builtinAggregatorUtils,
                                    final Div popoverElement,
                                    final Div popoverContentElement,
                                    final Span hitPolicyLabel,
                                    final Span builtinAggregatorLabel,
                                    final JQueryProducer.JQuery<Popover> jQueryPopover,
                                    final TranslationService translationService); @Override void init(final HitPolicyPopoverView.Presenter presenter); @Override void initHitPolicies(final List<HitPolicy> hitPolicies); @Override void initBuiltinAggregators(final List<BuiltinAggregator> aggregators); @Override void initSelectedHitPolicy(final HitPolicy hitPolicy); @Override void initSelectedBuiltinAggregator(final BuiltinAggregator aggregator); @Override void enableHitPolicies(final boolean enabled); @Override void enableBuiltinAggregators(final boolean enabled);  }### Answer:
@Test public void testEnableAggregator() throws Exception { view.enableBuiltinAggregators(true); verify(lstBuiltinAggregator).enable(); }
@Test public void testDisableAggregator() throws Exception { view.enableBuiltinAggregators(false); verify(lstBuiltinAggregator).disable(); }