@Override
    public YamlTableDataConsistencyCheckResult swapToYamlConfiguration(final TableDataConsistencyCheckResult data) {
        YamlTableDataConsistencyCheckResult result = new YamlTableDataConsistencyCheckResult();
        if (data.isIgnored()) {
            result.setIgnoredType(data.getIgnoredType().name());
            return result;
        }
        result.setMatched(data.isMatched());
        return result;
    }
@Test
    void assertSwapToYamlConfigurationWithTableDataConsistencyCheckIgnoredType() {
        TableDataConsistencyCheckResult data = new TableDataConsistencyCheckResult(TableDataConsistencyCheckIgnoredType.NO_UNIQUE_KEY);
        YamlTableDataConsistencyCheckResult actual = yamlTableDataConsistencyCheckResultSwapper.swapToYamlConfiguration(data);
        assertThat(actual.getIgnoredType(), is("NO_UNIQUE_KEY"));
        assertFalse(actual.isMatched());
    }