I have a question regarding the optional Closure's. Even if i set the closure to required (do not set "Closure weblogicClosure = null") my tests run fine, even if I don't provide a task closure. I thought this would result in a error. How can I achieve this kind of validation of required parts of the DSL?