### Question:
ContainerConfigPresenter { public ContainerConfig getContainerConfig() { return new ContainerConfig(getContainerName(), getGroupId(), getArtifactId(), getVersion()); } @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 testGetContainerConfig() { when(view.getContainerName()).thenReturn(CONTAINER_NAME_VALUE); when(view.getGroupId()).thenReturn(GROUP_ID_VALUE); when(view.getArtifactId()).thenReturn(ARTIFACT_ID_VALUE); when(view.getVersion()).thenReturn(VERSION_VALUE); ContainerConfig containerConfig = presenter.getContainerConfig(); assertEquals(CONTAINER_NAME_VALUE, containerConfig.getName()); assertEquals(GROUP_ID_VALUE, containerConfig.getGroupId()); assertEquals(ARTIFACT_ID_VALUE, containerConfig.getArtifactId()); assertEquals(VERSION_VALUE, containerConfig.getVersion()); }