### Question:
ContainerConfigPresenter { public void clear() { artifactSelector.clear(); view.clear(); containerNameValid = false; } @Inject  ContainerConfigPresenter(final View view,
                                    final ArtifactSelectorPresenter artifactSelector,
                                    final TranslationService translationService,
                                    final PopupHelper popupHelper,
                                    final Caller<M2RepoService> m2RepoService,
                                    final ProvisioningClientValidationService validationService); @PostConstruct void init(); IsElement getView(); void clear(); void setup(final List<String> alreadyInUseNames); boolean validateForSubmit(); ContainerConfig getContainerConfig();  }### Answer:
@Test public void testClear() { presenter.clear(); verify(view, times(1)).clear(); verify(artifactSelector, times(1)).clear(); }