}
@Test
public void testGoogleApi() throws JSONException {
MechanizeAgent agent = new MechanizeAgent();
JsonDocument json = agent.doRequest(googleUrl).add("shortUrl", shortUrl).add("projection", "FULL").get();
//String debug = json.asString();
assertEquals(longUrl, json.getRoot().find("longUrl").getValue());
//FRAGILE TEST no longer works
//String value = json.getRoot().find("analytics month countries#US count").getValue();
//assertTrue(value, Integer.valueOf(value)>=1);
}