content mockForConstraintsTests(${1:DomainClass}) def test${1} = new ${1}() assertFalse test${1}.validate() assertEquals "${2:nullable}", test${1}.errors["${3:someproperty}"] name mockConstraints scope source.groovy tabTrigger mc uuid EAED6F03-BBDF-43CE-9536-C965EA21840B