@Override
    protected ConfigData<PluginData> fromJson(final JsonObject data) {
        return GsonUtils.getGson().fromJson(data, new TypeToken<ConfigData<PluginData>>() {
        }.getType());
    }
@Test
    public void testFromJson() {
        ConfigData<PluginData> pluginDataConfigData = new ConfigData<>();
        PluginData pluginData = new PluginData();
        pluginDataConfigData.setData(Collections.singletonList(pluginData));
        JsonObject jsonObject = GsonUtils.getGson().fromJson(GsonUtils.getGson().toJson(pluginDataConfigData), JsonObject.class);
        assertThat(mockPluginDataRefresh.fromJson(jsonObject), is(pluginDataConfigData));
    }