Checkout your phpunit.xml file, there you will find bootstrap path to autoloader.
Are you using global PHPUNit framework or you are using local (installed with composer) ?
I created my vim mapping so it is pointing always to current file:
nmap ,t :!clear && phpunit %<esc>