GRAILS-10301 - verify bean types are as expected