Client client = new Client(new OrkutProvider(useRest),
new OAuth2LeggedScheme(ORKUT_KEY, ORKUT_SECRET, ORKUT_ID));
Request request = PeopleService.getFriends();
Response response = client.send(request);
Person self = response.getEntry();
assertTrue(self.getId() != null);
assertTrue(self.getDisplayName() != null);
} catch (Exception e) {
fail("Exception occurred while processing request");
}
}