lithium\test\Mocker::_mocker PHP Method

_mocker() protected static method

Will generate the mocker from the current mockee.
protected static _mocker ( string $mockee ) : array
$mockee string The fully namespaced `\Mock` class
return array
    protected static function _mocker($mockee)
    {
        $sections = explode('\\', $mockee);
        array_pop($sections);
        $sections[] = ucfirst(array_pop($sections));
        return implode('\\', $sections);
    }