@Test
public void testBasicUserActionLists() throws Exception {

  createAndVerifyUserAction(UserTrackingServiceImpl.FOOTPRINT_KEY, "session123", "mp", "me", "127.0.0.1", 10, 20);
  Assert.assertEquals(1, service.getViews("mp"));
  Assert.assertEquals(0, service.getViews("other"));
  //Test various limit and offset combinations
  //https://bugs.eclipse.org/bugs/show_bug.cgi?id=328730
  verifyUserActionLists(1, 0, 0, 1);
  verifyUserActionLists(1, 0, 1, 1);
  verifyUserActionLists(0, 1, 0, 1);
  verifyUserActionLists(0, 1, 1, 1);
  verifyUserActionLists(1, 0, 10, 1);
  createAndVerifyUserAction(UserTrackingServiceImpl.FOOTPRINT_KEY, "session123", "mp", "me", "127.0.0.1", 20, 30);
  Assert.assertEquals(1, service.getViews("mp"));
  Assert.assertEquals(0, service.getViews("other"));
  //Test various limit and offset combinations
  //https://bugs.eclipse.org/bugs/show_bug.cgi?id=328730
  verifyUserActionLists(1, 0, 0, 1);
  verifyUserActionLists(1, 0, 1, 1);
  verifyUserActionLists(0, 1, 0, 1);
  verifyUserActionLists(0, 1, 1, 1);
  verifyUserActionLists(1, 0, 10, 1);
  createAndVerifyUserAction(UserTrackingServiceImpl.FOOTPRINT_KEY, "session123", "mp", "me", "127.0.0.1", 40, 50);
  Assert.assertEquals(1, service.getViews("mp"));
  Assert.assertEquals(0, service.getViews("other"));
  //Test various limit and offset combinations
  //https://bugs.eclipse.org/bugs/show_bug.cgi?id=328730
  verifyUserActionLists(2, 0, 0, 2);
  verifyUserActionLists(1, 0, 1, 2);
  verifyUserActionLists(1, 1, 0, 2);
  verifyUserActionLists(1, 1, 1, 2);
  verifyUserActionLists(2, 0, 10, 2);
  createAndVerifyUserAction(UserTrackingServiceImpl.FOOTPRINT_KEY, "session123", "mp", "me", "127.0.0.1", 50, 60);
  Assert.assertEquals(1, service.getViews("mp"));
  Assert.assertEquals(0, service.getViews("other"));
  //Test various limit and offset combinations
  //https://bugs.eclipse.org/bugs/show_bug.cgi?id=328730
  verifyUserActionLists(2, 0, 0, 2);
  verifyUserActionLists(1, 0, 1, 2);
  verifyUserActionLists(1, 1, 0, 2);
  verifyUserActionLists(1, 1, 1, 2);
  verifyUserActionLists(2, 0, 10, 2);
}