@Override
    public List<RuleData> convert(final String json) {
        return GsonUtils.getInstance().fromList(json, RuleData.class);
    }
@Test
    public void testConvert() {
        List<RuleData> ruleDataList = new LinkedList<>();
        ConditionData conditionData = new ConditionData();
        conditionData.setParamName("conditionName-" + 0);
        List<ConditionData> conditionDataList = Collections.singletonList(conditionData);
        ruleDataList.add(RuleData.builder().name("name1").enabled(true).conditionDataList(conditionDataList).build());
        ruleDataList.add(RuleData.builder().name("name2").selectorId("0").build());
        Gson gson = new Gson();
        String json = gson.toJson(ruleDataList);
        List<RuleData> convertedList = ruleDataHandler.convert(json);
        assertThat(convertedList, is(ruleDataList));
    }