public void testEventHasUserLogs() {
EventFilter filter = new EventFilter();
filter.setMinDuration(10);
filter.setFilterUserLogs(true);
UiEvent uiEvent = createUiEventDuration(LayoutEvent.TYPE, 11.0);
assertFalse("user logs 1", filter.shouldFilter(uiEvent));
setHasUserLogs(uiEvent);
assertFalse("user logs 2", filter.shouldFilter(uiEvent));
filter.setMinDuration(20);
assertTrue("user logs 3", filter.shouldFilter(uiEvent));