Description
Mock static methods checkbox is enabled and can be changed when Mocking strategy is disabled.
To Reproduce
- Install UnitTestBot plugin built from main in IntelliJ IDEA
- Open any project with Spring configurations, for example
spring-petclinic
- Press
Alt+Shift+U on a Java class
- Select some Spring configuration from suggestions
Expected behavior
Mock static methods checkbox should be disabled together with Mocking strategy
Actual behavior
Mocking strategy is disabled.
Mock static methods checkbox is enabled and can be changed.
Screenshots, logs

Environment
IntelliJ IDEA version - 2023.1.2 (Ultimate Edition)
Project - spring-petclinic / TwoAnimals
JDK - 11/17
Description
Mock static methodscheckbox is enabled and can be changed whenMocking strategyis disabled.To Reproduce
spring-petclinicAlt+Shift+Uon a Java classExpected behavior
Mock static methodscheckbox should be disabled together withMocking strategyActual behavior
Mocking strategyis disabled.Mock static methodscheckbox is enabled and can be changed.Screenshots, logs
Environment
IntelliJ IDEA version - 2023.1.2 (Ultimate Edition)
Project - spring-petclinic / TwoAnimals
JDK - 11/17