<@U092N7GGG> Nesting tests e.g. ``` @DisplayName("...
# intellij-plugins
k
@yole Nesting tests e.g.
Copy code
@DisplayName("Before task default settings panel")
class MFBeforeTaskDefaultSettingsPanelTest {

    @Nested
    inner class `should throw configuration exception` {
        @Test
        fun `when build command is empty`() {
            val settingsPanel = setupPanel(buildCommand = "")
            assertThrows<ConfigurationException>(ConfigurationException::class.java) {
                settingsPanel.apply()
            }
        }
Link to file: https://github.com/elpassion/mainframer-intellij-plugin/blob/a741f8e1bf7cc53e5ca88a508fac7d55061d3ea3/src/test/kotlin/com/elpassion/intelijidea/task/MFBeforeTaskDefaultSettingsPanelTest.kt