You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a test generated for CommonMocksExample.clinitMockExample() which contains unneeded static final field reassignment with Reflection mechanism.
Description
There is a test generated for
CommonMocksExample.clinitMockExample()
which contains unneeded static final field reassignment with Reflection mechanism.To Reproduce
CommonMocksExample.clinitMockExample()
Expected behavior
Test just uses the default value of the field. And checks the behavior of the tested method
clinitMockExample()
.Actual behavior
The test reassigns the filed using reflection with the same default value.
Visual proofs (screenshots, logs, images)
Environment
Windows 10 Ppr
IntelliJ IDEA 2022.2.4
Gradle
JDK 11
The text was updated successfully, but these errors were encountered: