@Override public TestProperty replaceValue( TestProperty value, Function<String, String> replacementFunction) { return new TestProperty( value .getConfiguration() .clone( replacementFunction.apply(value.getConfiguration().getName()), replacementFunction), replacementFunction.apply(value.getValue())); }