PHPUnit can be included as a phar file.

No need to install phpunit in order to run unit tests.  Simply place
phpunit.phar in any of the vendor folders.
Could you please indent with tabs in this code you added?