I'm writing Spock tests for my Grails backend. I'm quite new to testing in Grails, and I'm trying to view the response to my mock request.
When I write println(response) I see this in the standard output: org.grails.plugins.testing.GrailsMockHttpServletResponse@62c0fcae
instead of the actual response. Is there anyway to view the contents of this mock http response instead of what is currently being printed?