core/web/Element.php
public function getMockedArgValue($elementName, $argName)
    {
        if (isset($this->_mockedArguments[$elementName]) && isset($this->_mockedArguments[$elementName][$argName])) {
            $response = $this->_mockedArguments[$elementName][$argName];
            if (is_callable($response)) {
                $response = call_user_func($response);
            }
            return $response;
        }
        
        return false;
    }
public function getMockedArgValue($elementName, $argName)
    {
        if (isset($this->_mockedArguments[$elementName]) && isset($this->_mockedArguments[$elementName][$argName])) {
            $response = $this->_mockedArguments[$elementName][$argName];
            if (is_callable($response)) {
                $response = call_user_func($response);
            }
            return $response;
        }
        
        return false;
    }
public function getMockedArgValue ( $ elementName , $ argName ) { if ( isset ( $ this -> _mockedArguments [ $ elementName ] ) && isset ( $ this -> _mockedArguments [ $ elementName ] [ $ argName ] ) ) { $ response = $ this -> _mockedArguments [ $ elementName ] [ $ argName ] ; if ( is_callable ( $ response ) ) { $ response = call_user_func ( $ response ) ; } return $ response ; } return false ; }
Find the mocked value for an element argument.

@param string $elementName The name of the element.
@param string $argName The name of the argument.
@return mixed|boolean Whether the mocked argument value exists returns the value otherwise false.
Find the mocked value for an element argument .