@Override
    public String buildContext() {
        final String plugins = ((Collection<?>) getSource())
                .stream()
                .map(s -> ((ShenyuDictDO) s).getDictName())
                .collect(Collectors.joining(","));
        return String.format("the shenyu dict[%s] is %s", plugins, StringUtils.lowerCase(getType().getType().toString()));
    }
@Test
    public void batchChangeDictContextTest() {
        BatchDictChangedEvent batchDictChangedEvent =
                new BatchDictChangedEvent(Arrays.asList(one, two), null, EventTypeEnum.DICT_UPDATE, "test-operator");

        String context = String.format("the shenyu dict[%s] is %s", "one,two", EventTypeEnum.DICT_UPDATE.getType().toString().toLowerCase());

        assertEquals(context, batchDictChangedEvent.buildContext());
    }