### Question:
CloseUnsavedProjectAssetsPopUpPresenter { public void show(final WorkspaceProject project, final List<PlaceRequest> uncloseablePlaces, final Command proceedCallback, final Command cancelCallback) { this.proceedCallback = proceedCallback; this.cancelCallback = cancelCallback; view.clearPlaces(); uncloseablePlaces.forEach(place -> { final CloseUnsavedProjectAssetsPopUpListItemPresenter placeItem = closeUnsavedProjectAssetsPopUpListItemPresenters.get(); placeItem.setup(getLabel(project, place)); view.addPlace(placeItem.getView()); }); view.show(project.getName()); } @Inject  CloseUnsavedProjectAssetsPopUpPresenter(final CloseUnsavedProjectAssetsPopUpPresenter.View view,
                                                   final ManagedInstance<CloseUnsavedProjectAssetsPopUpListItemPresenter> closeUnsavedProjectAssetsPopUpListItemPresenters,
                                                   final TranslationService translationService); @PostConstruct void setup(); void show(final WorkspaceProject project,
                     final List<PlaceRequest> uncloseablePlaces,
                     final Command proceedCallback,
                     final Command cancelCallback); void proceed(); void cancel();  }### Answer:
@Test public void showTest() { final Command proceedCallback = mock(Command.class); final Command cancelCallback = mock(Command.class); final WorkspaceProject project = mock(WorkspaceProject.class); doReturn(createPath("default: doReturn("project").when(project).getName(); final PathPlaceRequest pathPlaceRequest = mock(PathPlaceRequest.class); doReturn(createPath("default: final List<PlaceRequest> uncloseablePlaces = new ArrayList<>(); uncloseablePlaces.add(new DefaultPlaceRequest("screen")); uncloseablePlaces.add(pathPlaceRequest); presenter.show(project, uncloseablePlaces, proceedCallback, cancelCallback); verify(view).clearPlaces(); verify(closeUnsavedProjectAssetsPopUpListItemPresenter).setup("screen"); verify(closeUnsavedProjectAssetsPopUpListItemPresenter).setup("package/Asset.java"); verify(view, times(2)).addPlace(any()); verify(view).show("project"); }