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
$mockee
The fully namespaced
\Mock
class
Returns
boolSource
protected static function _validateMockee($mockee) {
return preg_match('/\\\\Mock$/', $mockee) === 1;
}