My java application uses google-http-java-client to verify user subscription on google play, for unit testing it's possible to use mocks while initializing client. But I'm trying to find way to stub responses for integration tests, because I can't inject some code to production artifact for tests purposes.
It's not possible to stub answers by proxy, because google-client contains google certificate for validation and SSL