Hello @slawekjaranowski,
Thanks for the report Let’s address the issues in order:
RSPEC-5979 supports both the deprecated initMocks and the newer openMocks. While I get the point about discouraging the use of deprecated APIs, IDEs and other sonar rules do a good job of signaling this. But maybe we can change the documentation rule so that initMocks does not benefit from the free publicity.
MockitoSession is not currently supported by the rule but a ticket has been created to handle the issue
Links are indeed pointing to outdated documentation and will be updated
TestNG annotations are not currently covered by the rule but a ticket has been created to handle the issue