Avoiding mocking the method funcition in some tests to avoid PHPUnit 4.0
fatals
Fixing the DatabaseSuite file for phpunit 4.0
Not using staticExpects as it is gone in phpunit 4
Fixing more tests for phpunit 4.0
Temporarily skiping a test that requires staticExpects
Fixing more broken tests under phpunit 4
Unskiping test that cannot be fixed without a major rewirte of a feature
Replacing the usage of PHPUnit static mock on App::classname()
fixed failing test
Fixed failing test
Merge pull request #2997 from cakephp/3.0-phpunit-4

3.0 phpunit 4