Example: PHP global namespace function setcookie() needs to be overridden in order to test
if a cookie gets set. When setcookie() is called from inside a class in the namespace
\Foo\Bar the mock setcookie() created here will be used instead to the real function.