@Bean public CrshShellProperties testProperties() { return new CrshShellProperties() { @Override protected void applyToCrshShellConfig(Properties config) { config.put("test.uuid", uuid); } }; }