@Override
    public String buildContext() {
        final PluginHandleDO after = (PluginHandleDO) getAfter();
        if (Objects.isNull(getBefore())) {
            return String.format("the plugin-handle [%s] is %s", after.getField(), StringUtils.lowerCase(getType().getType().toString()));
        }
        return String.format("the plugin-handle [%s] is %s : %s", after.getField(), StringUtils.lowerCase(getType().getType().toString()), contrast());
    }
@Test
    public void updatePluginHandleBuildContextTest() {
        String eventTypeStr = StringUtils.lowerCase(EventTypeEnum.PLUGIN_HANDLE_UPDATE.getType().toString());
        PluginHandleChangedEvent pluginHandleUpdateEventWithoutChange =
                new PluginHandleChangedEvent(pluginHandleDO, pluginHandleDO, EventTypeEnum.PLUGIN_HANDLE_UPDATE, "test-operator");
        String withoutChangeContrast = "it no change";
        String context =
                String.format("the plugin-handle [%s] is %s : %s", pluginHandleDO.getField(), eventTypeStr, withoutChangeContrast);
        assertEquals(context, pluginHandleUpdateEventWithoutChange.buildContext());

        PluginHandleChangedEvent pluginHandleUpdateEventNotSameDO =
                new PluginHandleChangedEvent(withoutChangePluginHandleDO, pluginHandleDO, EventTypeEnum.PLUGIN_HANDLE_UPDATE, "test-operator");
        assertEquals(context, pluginHandleUpdateEventNotSameDO.buildContext());

        final StringBuilder contrast = new StringBuilder();
        contrast.append(String.format("field[%s => %s] ", pluginHandleDO.getField(), changePluginHandleDO.getField()));
        contrast.append(String.format("label[%s => %s] ", pluginHandleDO.getLabel(), changePluginHandleDO.getLabel()));
        contrast.append(String.format("type[%s => %s] ", pluginHandleDO.getType(), changePluginHandleDO.getType()));
        contrast.append(String.format("dataType[%s => %s] ", pluginHandleDO.getDataType(), changePluginHandleDO.getDataType()));
        contrast.append(String.format("sort[%s => %s] ", pluginHandleDO.getSort(), changePluginHandleDO.getSort()));
        String changeContext = String.format("the plugin-handle [%s] is %s : %s", changePluginHandleDO.getField(), eventTypeStr, contrast);

        PluginHandleChangedEvent pluginHandleUpdateEventChange =
                new PluginHandleChangedEvent(changePluginHandleDO, pluginHandleDO, EventTypeEnum.PLUGIN_HANDLE_UPDATE, "test-operator");
        assertEquals(changeContext, pluginHandleUpdateEventChange.buildContext());
    }