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