When writing a junit test:
internal class MyTest {
@org.junit.jupiter.api.Nested
class MyInnerClass {
}
}
A warning is displayed by my code editor (IntelliJ)
Only non-static nested classes can serve as @Nested test classes.
How to write a nested classes in junit tests in kotlin?