Yesterday I decided to do the whole test in Groovy. Inside my TestNG test case I had a method that returned some xml :
The output was null. Kind of silly of me. Adding a semicolon after the String didn't produce an output. Putting the opening quote on the same line as the return statement did.
I still don't miss semicolons though.