Move mock setup below CakePHP initialization to solve phpunit class loading issues