property.setValue("top");
assertPropertyOutput("foo-value/bar-value", property);
}
public void testTypeConverterShouldBeUsed() {
final ValueStack stack = ActionContext.getContext().getValueStack();
converter.registerConverter("org.apache.struts2.components.PropertyTest$FooBar", new FooBarConverter());
stack.push(new FooBar("foo-value", "bar-value"));
final Property property = new Property(stack);
property.setDefault("default");
property.setValue("top");
assertPropertyOutput("*foo-value + bar-value*", property);
}