new PathValueEventFilter("name", new StringValuePredicate("name")),
new PathValueEventFilter("id", new NumericValuePredicate(1, "="))
);
EventHandler handler = new EventHandler();
bus.registerSubscriber(new InfixEventFilter(filter), handler);
bus.publish(new Event("name", 2));
assertEquals("Event not filtered.", 0, handler.counterMockAnnotatable.get());
}