@Override
    public TableDataConsistencyCheckResult swapToObject(final YamlTableDataConsistencyCheckResult yamlConfig) {
        if (null == yamlConfig) {
            return null;
        }
        if (!Strings.isNullOrEmpty(yamlConfig.getIgnoredType())) {
            return new TableDataConsistencyCheckResult(TableDataConsistencyCheckIgnoredType.valueOf(yamlConfig.getIgnoredType()));
        }
        return new TableDataConsistencyCheckResult(yamlConfig.isMatched());
    }
@Test
    void assertSwapToObjectWithEmptyYamlTableDataConsistencyCheckResultMatched() {
        YamlTableDataConsistencyCheckResult yamlConfig = new YamlTableDataConsistencyCheckResult();
        yamlConfig.setIgnoredType("");
        TableDataConsistencyCheckResult result = yamlTableDataConsistencyCheckResultSwapper.swapToObject(yamlConfig);
        assertNull(result.getIgnoredType());
        assertFalse(result.isMatched());
    }