For unit testing purpose, I am using GoogleJsonResponseExceptionFactoryTesting.newMock to set an exception on a getSubscriptions call to Google like below
val mo