Conditions.not(Conditions.mapBuilder().matches(UpdateRef.TAGS_NAME, Conditions.containsAny("re-etl")).build()));
SubscriptionDAO mockSubscriptionDao = mock(SubscriptionDAO.class);
DefaultDatabus testDatabus = new DefaultDatabus(
mock(LifeCycleRegistry.class), mock(EventBus.class), mock(DataProvider.class), mockSubscriptionDao,
mock(DatabusEventStore.class), mock(SubscriptionEvaluator.class), mock(JobService.class),
<BUG>mock(JobHandlerRegistry.class), mock(MetricRegistry.class), ignoreReEtl);
</BUG>
Condition originalCondition = Conditions.mapBuilder().contains("foo", "bar").build();
testDatabus.subscribe("test-subscription", originalCondition, Duration.standardDays(7),
Duration.standardDays(7));

Conditions.not(Conditions.mapBuilder().matches(UpdateRef.TAGS_NAME, Conditions.containsAny("re-etl")).build()));
SubscriptionDAO mockSubscriptionDao = mock(SubscriptionDAO.class);
DefaultDatabus testDatabus = new DefaultDatabus(
mock(LifeCycleRegistry.class), mock(EventBus.class), mock(DataProvider.class), mockSubscriptionDao,
mock(DatabusEventStore.class), mock(SubscriptionEvaluator.class), mock(JobService.class),
mock(JobHandlerRegistry.class), mock(MetricRegistry.class), ignoreReEtl, Clock.systemUTC());
Condition originalCondition = Conditions.mapBuilder().contains("foo", "bar").build();
testDatabus.subscribe("test-subscription", originalCondition, Duration.standardDays(7),
Duration.standardDays(7));
