I don\'t want to write a long text, because it is a short question. PHPUnit tests contain several methods that are static. For example all those \\PHPUnit\\Framework\\Assert
The phpunit documentation says you can use either and doesnt advocate one over the other. So you choose!
https://phpunit.readthedocs.io/en/9.2/assertions.html