}
private void retrieveFromOrkut(boolean useRest) {
try {
Client client = new Client(new OrkutSandboxProvider(useRest),
new OAuth2LeggedScheme(ORKUT_KEY, ORKUT_SECRET, ORKUT_ID));
Request request = AppDataService.getAppData();
Response response = client.send(request);
AppData data = response.getEntry();
assertTrue(data.hasField(ORKUT_ID));