Expect for Groovy
To create a simple groovy version of the "expect" concept, all you need are the three Groovy classes below.
The main of IOSession shows how to use it:
Results of your search request can come from various sources: the Groovy website itself,
the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.