@Override
    public YamlAlgorithmConfiguration swapToYamlConfiguration(final AlgorithmConfiguration data) {
        if (null == data) {
            return null;
        }
        YamlAlgorithmConfiguration result = new YamlAlgorithmConfiguration();
        result.setType(data.getType());
        result.setProps(data.getProps());
        return result;
    }
@Test
    void assertSwapToYaml() {
        YamlAlgorithmConfiguration actual = new YamlAlgorithmConfigurationSwapper().swapToYamlConfiguration(
                new AlgorithmConfiguration("TEST", PropertiesBuilder.build(new Property("key", "value"))));
        assertThat(actual.getType(), is("TEST"));
        assertThat(actual.getProps().getProperty("key"), is("value"));
    }