eventFilters, TrueFilter.INSTANCE));
Assert.assertArrayEquals(new int[] {2, 0, 0},
eventHub.getFunnelCounts(DATES[0], DATES[4], funnelSteps, 7 /* numDaysToCompleteFunnel */,
Lists.<Filter>newArrayList(
new ExactMatch("foo1", "bar1"),
new Regex("foo4", Pattern.compile("b.*4")),
TrueFilter.INSTANCE),
TrueFilter.INSTANCE));
Assert.assertArrayEquals(new int[] { 2, 2, 0 },
eventHub.getFunnelCounts(DATES[0], DATES[4], funnelSteps, 7 /* numDaysToCompleteFunnel */,
Lists.<Filter>newArrayList(
new ExactMatch("foo2", "bar2"),
new Regex("foo2", Pattern.compile("bar2")),
new ExactMatch("foo2", "bar2")),
TrueFilter.INSTANCE));
Assert.assertArrayEquals(new int[] {2, 2, 2},
eventHub.getFunnelCounts(DATES[0], DATES[4], funnelSteps, 7 /* numDaysToCompleteFunnel */,
eventFilters, new ExactMatch("foo2", "bar2")));