Sonar Issue
Violation : Explicitly Import the Specific Classes Needed
Rule : Wildcard Imports should not be used
IntelliJ IDEA Menu Navigation
Settings > Editor > Code Style > Java > Imports tabChange the value in, Class count to use import with '*' : to a value higher than the usage count of repetitive class asserts, to avoid Wildcard import ( a higher value like 150 ).
Note : The default value 999 will not work. Also the "Use single class import" tick removal will also not work.
...