fixes #15573 - support rest-client 2.x
Add a test helper that understands how to create fake responses for bothsupported 1.8 and 2.x versions.
fixes #15573 - support rest-client 2.x
Add a test helper that understands how to create fake responses for both
supported 1.8 and 2.x versions.