public void retrieveFromMySpace() {
try {
Client client = new Client(new MySpaceProvider(),
new OAuth2LeggedScheme(MYSPACE_KEY, MYSPACE_SECRET, MYSPACE_ID));
Request request = ActivitiesService.getActivities();
Response response = client.send(request);
List<Activity> activities = response.getEntries();
assertTrue(activities.size() > 0);
} catch (Exception e) {
fail("Exception occurred while processing request");