title: What do Groovy assertions look like with parentheses?
body: <p>The example on <a href="http://docs.codehaus.org/display/GROOVY/Introduce+Assertion" rel="nofollow noreferrer">this page</a> only shows Groovy assertions without parentheses.</p>
  
  <pre><code>assert a != null, 'First parameter must not be null'
  </code></pre>
  
  <p>What would this look like if I wanted to include the parentheses? I presume that this is the closest equivalent to Perl's die() function (print error message and exit in one statement)?</p>