lithium\test\Mocker::_validateMockee()
Will validate if mockee is a valid class we should mock.
Will fail if the mock already exists, or it doesn't contain \Mock in
the namespace.
Parameters
-
string
$mockeeThe fully namespaced
\Mockclass
Returns
boolSource
protected static function _validateMockee($mockee) {
return preg_match('/\\\\Mock$/', $mockee) === 1;
}