Example

public class ClassA extends junit.framework.TestCase {
void suite () {
}
}

Solution
Always declare suite with the correct modifiers - public class.

public class ClassA extends junit.framework.TestCase {
public static void suite () {
}
}