/** * Press the SAVE AND UNPUBLISH button. */ protected function pressSaveAndUnpublish() { $this->helperContext->getSession()->getPage()->pressButton($this->page->getButton(self::BUTTON_SAVE_AND_UNPUBLISH)); }