spring-framework/framework-docs/modules/ROOT/pages
Simon Baslé 6f79c7e70f Remove support for Mockito annotations and `MockitoSession`
This change remove the support for Mockito annotations, `MockitoSession`
and opening/closing of mocks that was inherited from Boot's `@MockBean`
support, as well as the switch to `MockitoSession` made in 1c893e6.

Attempting to take responsability for things Mockito's own JUnit
Jupiter extension does better is not ideal, and we found it leads to
several corner cases which make `SpringExtension` and `MockitoExtension`
incompatible in the current approach.

Instead, this change refocuses our Mockito bean overriding support
exclusively on aspects specific to the Framework. `MockitoExtension`
will thus be usable in conjunction with `SpringExtension` if one needs
to use `@Captor`/`@InitMocks`/`@Mock`/`@Spy` or other Mockito utilities.

See gh-33318
Closes gh-33692
2024-10-16 09:40:57 +02:00
..
core Add note on autowireCandidate versus defaultCandidate 2024-10-08 11:36:39 +02:00
data-access Replace 'e.g.' with 'for example' in documentation and comments 2024-09-26 14:11:17 +02:00
integration Update scheduling.adoc 2024-10-15 18:21:42 +02:00
languages Replace 'e.g.' with 'for example' in documentation and comments 2024-09-26 14:11:17 +02:00
testing Remove support for Mockito annotations and `MockitoSession` 2024-10-16 09:40:57 +02:00
web Update Javadoc snippets for static resource locations 2024-10-15 19:23:07 +01:00
appendix.adoc Enable table striping by default in the reference manual 2024-01-13 14:50:16 +01:00
core.adoc
data-access.adoc
index.adoc Polishing 2024-06-07 13:45:09 +02:00
integration.adoc
languages.adoc
overview.adoc Replace 'e.g.' with 'for example' in documentation and comments 2024-09-26 14:11:17 +02:00
page-layout.adoc
rsocket.adoc Replace 'e.g.' with 'for example' in documentation and comments 2024-09-26 14:11:17 +02:00
testing.adoc
web-reactive.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
web.adoc Fix additional WebFlux-related links 2023-11-20 16:22:35 +01:00