My fix for mockDomain() had a bug: I was testing whether the value of the "id" property was a number, but of course that failed if the value was null. I now check that the property type is a Number.
My fix for mockDomain() had a bug: I was testing whether the value of
the "id" property was a number, but of course that failed if the value
was null. I now check that the property type is a Number.

clockworkorange/grails-core,clockworkorange/grails-core,clockworkorange/grails-core,clockworkorange/grails-core,erdi/grails-core,erdi/grails-core,erdi/grails-core,clockworkorange/grails-core