### Question:
DefaultValueStandardizer implements StandardizationPolicy, AcceptsEmptyValues { @Override public String convertValue(String value) { return (StringUtils.isEmpty(value) ? defaultStr : value); } DefaultValueStandardizer(@PolicyPropertyRef(name = "Default Value") String defaultStr); @Override String convertValue(String value); String getDefaultStr(); Boolean accepts(Object value); Object convertRawValue(Object value);  }### Answer:
@Test public void testConvertValue() throws Exception { DefaultValueStandardizer standardizer = new DefaultValueStandardizer("default"); assertEquals("default", standardizer.convertValue("")); assertEquals("default", standardizer.convertValue(null)); assertEquals("foo", standardizer.convertValue("foo")); }