Using java class in groovy example added via Spock framework tests.