RenamePopUpPresenter { void setupView() { enablePrimaryButton(); hideSaveAndRenameIfAssetIsNotDirty(); } @Inject  RenamePopUpPresenter(final View view,
                                final ToggleCommentPresenter toggleCommentPresenter); void show(final Path path,
                     final Validator validator,
                     final CommandWithFileNameAndCommitMessage renameCommand,
                     final CommandWithFileNameAndCommitMessage saveAndRenameCommand,
                     final boolean isDirty,
                     final String originalFileName); void show(final Path path,
                     final CommandWithFileNameAndCommitMessage renameCommand,
                     final String originalFileName); void show(final Path path,
                     final Validator validator,
                     final CommandWithFileNameAndCommitMessage renameCommand); void show(final Path path,
                     final Validator validator,
                     final boolean isDirty,
                     final CommandWithFileNameAndCommitMessage renameCommand,
                     final CommandWithFileNameAndCommitMessage saveAndRenameCommand); void show(final Path path,
                     final CommandWithFileNameAndCommitMessage renameCommand); @PostConstruct void setup(); void rename(final String newName); void saveAndRename(final String newName); void cancel(); View getView(); ToggleCommentPresenter getToggleCommentPresenter();  }
@Test public void testSetupView() { presenter.setupView(); verify(presenter).enablePrimaryButton(); verify(presenter).hideSaveAndRenameIfAssetIsNotDirty(); }