Examples that show Groovy vs Java equality testing

In Groovy == calls the "equals" method. To test equality with Groovy use
the is() method which is available in every Groovy object