How to check the PHPUnit version used by Magento 2?

Way 1

You can check it in the Magento 2 root composer.json file:

Way 2

You can check it in PHPUnit source code: