This will be fixed with PMD 5.3.6 and later. Great! Alternatively you can disable...
False positive with JUnit4TestShouldUseBeforeAnnotation when TestNG is used
VOTE: exo