Don't use PHPUnit backupGlobals, break with 4.x
Don't use PHPUnit backupGlobals, break with 4.x

Unclear why PHPUnit is trying to serialize() data
through its mocking system, but this simple workaround avoids it.

https://phpunit.de/manual/4.8/en/fixtures.html#fixtures.global-state
https://github.com/sebastianbergmann/phpunit/issues/451
http://stackoverflow.com/questions/4366592/symfony-2-doctrine-2-phpunit-3-5-serialization-of-closure-exception

silverstripe/silverstripe-behat-extension,tractorcow/silverstripe-behat3,silverstripe-labs/silverstripe-behat-extension,silverstripe/silverstripe-behat-extension