pear install --force pear
pear channel-discover pear.phpunit.de
pear install --force --alldeps phpunit/PHPUnit
Post a comment if it doesn't work and i'll investigate further
Pear update Problems?
To update your PEAR installation, request http://pear.php.net/go-pear.phar in your browser and save the output to a local file go-pear.php. You can then run
php go-pear.php
if that doesn't work start the shell with admin privileges (rightclick -> run as admin).
Credit: http://stackoverflow.com/questions/5160228/unable-to-install-phpunit-pear-package-in-xampp