@Test
public void testUserActionsListsByTypeAndDayWithTime() 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"));
  DateFormat df = new SimpleDateFormat("yyyyMMddHHmmss");
  Calendar c1 = Calendar.getInstance();
  Calendar c2 = Calendar.getInstance();
  c2.add(Calendar.DAY_OF_YEAR, -1);
  String now = df.format(c1.getTime());
  String yesterday = df.format(c2.getTime());
  testUserActionListsByTypeAndDay(now, yesterday);
}