DataSift\Storyplayer\BrowserLib\SingleElementExpect::isNotChecked PHP Method

isNotChecked() public method

public isNotChecked ( )
    public function isNotChecked()
    {
        $action = function ($element, $elementName, $elementDesc) {
            $log = usingLog()->startAction("{$elementDesc} '{$elementName}' must not be checked");
            // test it
            if (!$element->attribute("checked")) {
                $log->endAction();
                return true;
            }
            throw new E5xx_ExpectFailed(__METHOD__, $elementName . ' is not checked', $elementName . ' is checked');
        };
        $wrapper = new SingleElementAction($action, "check", $this->topElement);
        $method = $this->searchMethodName;
        $params = $this->searchMethodParams;
        call_user_func_array([$wrapper, $method], $params);
    }