Skip to content

Support Bean Overrides (such as @MockitoBean) on test constructor parameters #36096

@sdeleuze

Description

@sdeleuze

Like there is a parameter resolver for @Autowired, it would be useful to have one for @MockBean, especially in Kotlin where it would enable using val instead of lateinit var.

cc @sbrannen

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions