Note:
This PHPUnit tests assumes that you use PHP 7.1 or PHP 7.2.
Clone repo on local:
git clone https://github.com/nemaba/phpunit7_with_composer.git
Install the dependencies:
composer install
Run tests:
./vendor/bin/phpunit --bootstrap vendor/autoload.php --testdox tests
The documentation for PHPUnit 7 can be found here.
The tutorial concerning this code can be found on Github