Example:
public class MainTestCase extends junit.framework.TestCase {
public void test() {
Assert.assertTrue(true);
}
}
After the quick-fix is applied:
public class MainTestCase {
@org.junit.Test
public void test() {
Assert.assertTrue(true);
}
}
This inspection reports if the language level of the project or module is 5 or higher and JUnit 4 available on the classpath.