Prose\TargettedBrowserExpects::isNotChecked PHP Метод

isNotChecked() публичный Метод

public isNotChecked ( )
    public function isNotChecked()
    {
        // what are we doing?
        $log = usingLog()->startAction("{$this->elementDesc} '{$this->searchTerm}' must not be checked");
        // get the element
        $element = $this->getElement();
        // test it
        if ($element->attribute("checked")) {
            throw new E5xx_ExpectFailed(__METHOD__, $this->searchTerm . ' not checked', $this->searchTerm . ' checked');
        }
        // all done
        $log->endAction();
        return true;
    }