**[Martin Flower](https://jira.spring.io/secure/ViewProfile.jspa?name=sylvestris)** opened **[SPR-6300](https://jira.spring.io/browse/SPR-6300?redirect=false)** and commented line 204 contains expectedName.equals() it could be improved to check for expectedName != null --- **Affects:** 2.5.6 **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/613b4d182b23b474db4e43257cf75ef8454e6bdf