Description
There is a specific code segment is tests generated for Spring that configures mocks.
It should be rendered without regions and their comments, it is to odd now.
Actual behavior
///region Test run utility methods
///region Mocking utils
@BeforeEach
public void setUp() {
mockitoCloseable = openMocks(this);
}
@AfterEach
public void tearDown() throws Exception {
mockitoCloseable.close();
}
///endregion
///endregion
Expected behavior
- variable declaration
- setUp method declaration
- tearDown method declaration
Context
Issue is actual for Spring codegen only.
Variables rendering is supported in #1788
Description
There is a specific code segment is tests generated for Spring that configures mocks.
It should be rendered without regions and their comments, it is to odd now.
Actual behavior
Expected behavior
Context
Issue is actual for Spring codegen only.
Variables rendering is supported in #1788