Единый тест Java IntelliJ

Go to this site it is well explained

https://www.javatpoint.com/intellij-idea-unit-test
serge kalaga