Generate a boilerplate for your unit tests instantly.
Install the plugin from Intellij -- Plugin -- Unlogged
Open Unlogged. Navigate to a method inside your code and click on it.
That's all it takes to get a boilerplate for your unit tests.