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

        String context = String.format("the dict[%s] is %s", "one,two", StringUtils.lowerCase(EventTypeEnum.DICT_DELETE.getType().toString()));

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