Changed the visibility of getResponseBody to public for tests usage.