public static MockHttpTransport newMockHttpTransportWithSampleTokenResponse()
Returns a new MockHttpTransport with a sample MockLowLevelHttpResponse. The
response includes sample TokenResponse content as specified in DEFAULT_TOKEN_RESPONSE_JSON.
This is meant to produce a minimal implementation that allows methods such as GoogleCredential#executeRefreshToken() to be called without failing abruptly. This content is
static. If you are making assertions based on the content of the request, then
MockTokenServerTransport should be used instead.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]