Inspectopedia
 
2024.3

Usage of obsolete 'junit.framework.Assert' method

Warning
New
Last modified: 03 December 2024

Reports any calls to methods from the junit.framework.Assert class. This class is obsolete and the calls can be replaced by calls to methods from the org.junit.Assert class.

For example:

After the quick fix is applied, the result looks like the following: