I get the following error when I run phpunit with Laravel 4.
PHP Fatal error: Class \'Illuminate\\Foundation\\Testing\\TestCase\' not found in
Try to remove your "vendor" folder and the file named composer.lock after that run:
composer install
Pay attention to the output produced by composer.