+ "\"refresh_token\":\"tGzv3JOkF0XG5Qx2TlKWIA\","
+ "\"example_parameter\":\"example_value\"}";
public void test() throws Exception {
JsonFactory jsonFactory = new JacksonFactory();
TokenResponse response = jsonFactory.fromString(JSON, TokenResponse.class);
assertEquals("2YotnFZFEjr1zCsicMWpAA", response.getAccessToken());
assertEquals("example", response.getTokenType());
assertEquals(3600L, response.getExpiresInSeconds().longValue());
assertEquals("tGzv3JOkF0XG5Qx2TlKWIA", response.getRefreshToken());
assertEquals("example_value", response.get("example_parameter"));