lib/Registry/MockRegistry.php
public function call($name, $uqfn, array $args)
    {
        if (! $this->has($name)) {
            throw new \Exception();
        }

        return $this->mocks[$name]->call($uqfn, $args);
    }
public function call($name, $uqfn, array $args)
    {
        if (! $this->has($name)) {
            throw new \Exception();
        }

        return $this->mocks[$name]->call($uqfn, $args);
    }
Call the registered function mock

@param string $name The fully-qualified function name
@param string $uqfn The unqualified function name
@param array $args

@return mixed
@throws \Exception

@internal