MockitoAnnotations.initMocks
is now deprecated. New MockitoSession - mockito-core 3.8.0 javadoc can be used instead.
Link to documentation of *Mockito 2.x - which is old one.
There is new version 3.x - mockito-core 3.8.0 javadoc (org.mockito)
There is MockitoTestNGListener - mockito-testng 0.2.10 javadoc for TestNG
Maybe it is not a bug but improvement, I think that new rule should refer to the latest version of library.