Some recent changes in Spring Framework rendered a couple of our unit tests broken as they were incompletely setting up infrastructure components.