manager.saveActivity("user1", activity1);
Activity activity2 = manager.getActivity("user1", "self", "1", null, "1");
assertNotNull(activity2);
assertEquals("user1", activity2.getUserId());
assertEquals("Adding Gadget", activity2.getTitle());
manager.deleteActivity("user1", "1", "1");
activity2 = manager.getActivity("user1", "self", "1", null, "1");
assertNull(activity2);
}
public void testUpdateActivity() throws Exception {