Ref: https://docs.moodle.org/dev/PHPUnit

composer install

php admin/tool/phpunit/cli/init.php

Linux/Unix/MacOS
or
Windows\

vendor/bin/phpunit filter/synhi/tests/toolbox_test.php
or
vendor\bin\phpunit filter/synhi/tests/toolbox_test.php


vendor/bin/phpunit filter/synhi/tests/privacy_provider_test.php
or
vendor\bin\phpunit filter/synhi/tests/privacy_provider_test.php
