@Override
    public List<PluginData> convert(final String json) {
        return GsonUtils.getInstance().fromList(json, PluginData.class);
    }
@Test
    public void testConvert() {
        List<PluginData> pluginDataList = new LinkedList<>();
        pluginDataList.add(PluginData.builder().name("name1").enabled(true).build());
        pluginDataList.add(PluginData.builder().name("name2").role("0").build());
        Gson gson = new Gson();
        String json = gson.toJson(pluginDataList);
        List<PluginData> convertedList = pluginDataHandler.convert(json);
        assertThat(convertedList, is(pluginDataList));
    }