@Override
    public void notify(ConfigChangeEvent value) {
        if (EventType.DELETE.equals(value.getEventType())) {
            dynamicSettingsString = null;
            activeSetting(initialSettingsString);
        } else {
            dynamicSettingsString = value.getNewValue();
            activeSetting(value.getNewValue());
        }
    }
@Test
    public void testNotify() {

        //add
        String addSearchableTracesTagsStr = moduleConfig.getSearchableTracesTags() + ",userId";
        ConfigChangeWatcher.ConfigChangeEvent addEvent =
                new ConfigChangeWatcher.ConfigChangeEvent(addSearchableTracesTagsStr,
                        ConfigChangeWatcher.EventType.ADD);

        searchableTracesTagsWatcher.notify(addEvent);

        Assertions.assertEquals(searchableTracesTagsWatcher.getSearchableTags(),
                Arrays.stream(addSearchableTracesTagsStr.split(",")).collect(Collectors.toSet()));

        //modify
        String modifySearchableTracesTagsStr = moduleConfig.getSearchableTracesTags() + ",userId,orderId";
        ConfigChangeWatcher.ConfigChangeEvent modifyEvent =
                new ConfigChangeWatcher.ConfigChangeEvent(modifySearchableTracesTagsStr,
                        ConfigChangeWatcher.EventType.MODIFY);

        searchableTracesTagsWatcher.notify(modifyEvent);

        Assertions.assertEquals(searchableTracesTagsWatcher.getSearchableTags(),
                Arrays.stream(modifySearchableTracesTagsStr.split(",")).collect(Collectors.toSet()));

        //delete
        ConfigChangeWatcher.ConfigChangeEvent deleteEvent =
                new ConfigChangeWatcher.ConfigChangeEvent(null,
                        ConfigChangeWatcher.EventType.DELETE);
        searchableTracesTagsWatcher.notify(deleteEvent);

        Assertions.assertEquals(searchableTracesTagsWatcher.getSearchableTags(),
                Arrays.stream(moduleConfig.getSearchableTracesTags().split(",")).collect(Collectors.toSet()));
    }