lithium\test\Mocker::_mocker()

protected static method

Will generate the mocker from the current mockee.

Parameters

  • string $mockee

    The fully namespaced \Mock class

Returns

array

Source

	protected static function _mocker($mockee) {
		$sections = explode('\\', $mockee);
		array_pop($sections);
		$sections[] = ucfirst(array_pop($sections));
		return implode('\\', $sections);
	}