Skip to content

MockitoPostProcessor doesn't check FactoryBean.OBJECT_TYPE_ATTRIBUTE correctly #33746

Closed as not planned
@philwebb

Description

@philwebb

MockitoPostProcessor.getExistingBeans checks the FactoryBean.OBJECT_TYPE_ATTRIBUTE on bean definitions but it only does a String match.

Framework expects a Class or ResolvableType

Metadata

Metadata

Assignees

Labels

status: supersededAn issue that has been superseded by anothertype: bugA general bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions