@Test public void format() { Integer value = 3; when(delegatedFormatter.format(value)).thenReturn("3-3"); assertEquals("3<br/>-<br/>3", formatter.format(value)); }
@Override public String format(Object value) { String formattedValue = delegatedFormatter.format(value); return formattedValue.replace("-", "<br/>-<br/>"); }
PointBrAddingValueFormatter extends AbstractPointValueFormatter { @Override public String format(Object value) { String formattedValue = delegatedFormatter.format(value); return formattedValue.replace("-", "<br/>-<br/>"); } }
PointBrAddingValueFormatter extends AbstractPointValueFormatter { @Override public String format(Object value) { String formattedValue = delegatedFormatter.format(value); return formattedValue.replace("-", "<br/>-<br/>"); } PointBrAddingValueFormatter(PointValueFormatter delegatedFormatter); }
PointBrAddingValueFormatter extends AbstractPointValueFormatter { @Override public String format(Object value) { String formattedValue = delegatedFormatter.format(value); return formattedValue.replace("-", "<br/>-<br/>"); } PointBrAddingValueFormatter(PointValueFormatter delegatedFormatter); @Override String format(Object value); @Override boolean handles(Class<?> valueClass); @Value("1") @Override void setOrder(int order); }
PointBrAddingValueFormatter extends AbstractPointValueFormatter { @Override public String format(Object value) { String formattedValue = delegatedFormatter.format(value); return formattedValue.replace("-", "<br/>-<br/>"); } PointBrAddingValueFormatter(PointValueFormatter delegatedFormatter); @Override String format(Object value); @Override boolean handles(Class<?> valueClass); @Value("1") @Override void setOrder(int order);  }