JUnitMethodDeclaration
SUGGESTION
Simplification
Summary
JUnit method declaration can likely be improved
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("JUnitMethodDeclaration")
to the enclosing element.Disable this pattern completely by adding
-Xep:JUnitMethodDeclaration:OFF
as compiler argument. Learn more.