I am trying to run the tests in PHPUnit and getting this error.
Fatal error: Uncaught exception 'ErrorException' with message 'Class __PHP_Incomplete_Class has no unserializer' in /opt/lampp/lib/php/PHPUnit/Util/PHP.php:237
PHP - 5.4.7
PHPUnit - 3.7.21
PHPUnit setting :
processIsolation = "true"
Thanks in advance.
Try clearing the cache for the test environment. php app/console cache:clear --env=test