Problemunvalidated
if the `userService` field is removed, the dependency is set to null, which causes a `NullPointerException` when the test runs — In my Spring Boot app, I have some tests that look like this. Tension: I don't need to mock or verify any `userService` methods, so IntelliJ marks this as an unused field.
aba4ba6a-519d-44f6-b25c-ac225f6b27ba
if the userService field is removed, the dependency is set to null, which causes a NullPointerException when the test runs — In my Spring Boot app, I have some tests that look like this. Tension: I don't need to mock or verify any userService methods, so IntelliJ marks this as an unused field.