First install phpunit.phar locally:
Then right-click on the External Libraries entry in the Project pane and choose Configure PHP include paths…
Then add an include path to the folder where phpunit.phar is installed:
And finally you get all completions: