
errorprone.bugpattern.UnnecessaryAssignment.md Maven / Gradle / Ivy
The newest version!
The `@Mock` annotation is used to automatically initialize mocks using
`MockitoAnnotations.initMocks`, or `MockitoJUnitRunner`.
Variables annotated this way should not be explicitly initialized, as this will
be overwritten by automatic initialization.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy