testProvider.addFile(wellKnownFile.getAbsolutePath());
testProvider.setProperty("os.name", "linux");
testProvider.setProperty("user.home", homeDir.getAbsolutePath());
// Define a transport that can simulate refreshing tokens
MockTokenServerTransport transport = new MockTokenServerTransport();
transport.addClient(clientId, clientSecret);
transport.addRefreshToken(refreshTokenEnv, accessTokenEnv);
transport.addRefreshToken(refreshTokenWkf, accessTokenWkf);
String jsonEnv = GoogleCredentialTest.createUserJson(clientId, clientSecret, refreshTokenEnv);
String jsonWkf = GoogleCredentialTest.createUserJson(clientId, clientSecret, refreshTokenWkf);
try {