Correspondence::saveCorrespondenceAndConfirm PHP Method

saveCorrespondenceAndConfirm() public method

    public function saveCorrespondenceAndConfirm()
    {
        $this->getSession()->wait(5000);
        $this->getElement('saveDraft')->click();
        $this->getSession()->wait(5000);
        //$this->waitForElementDisplayBlock('saveCorrespondenceOK');
        if ($this->hasConsentSaved()) {
            print "Correspondence has been saved OK";
        } else {
            throw new BehaviorException("WARNING!!!  Correspondence has NOT been saved!!  WARNING!!");
        }
    }