Grails

Comparing a null Integer value with integer literal results in NPE in unit tests