When running a JUnit test, using IntelliJ IDEA, I get
How can I correc
I resolved bellow method
File >> Project Structure >> Project >> Project Language Level --> do set proper version (ex: 1.5)