Read how to customize code templates for JUnit 4 test, setup and teardown methods in IntelliJ.While working with Junit in IntelliJ you can quickly generate test, setup and teardown method with
Templatesand find the section
File and Code templates. On the right, open
Codetab and change your templates as shown below.