spring-projects/spring-framework

Implement `toString()` in `TestBeanOverrideHandler`

sbrannen opened this issue · 0 comments

While composing the commit message for 54948a4, I noticed that the string representation of a TestBeanOverrideHandler does not include the factory method; whereas, the string representations for MockitoBeanOverrideHandler and MockitoSpyBeanOverrideHandler both include information specific to mocks/spies.

To improve diagnostics, we should implement toString() in TestBeanOverrideHandler and include the factoryMethod.