ComponentResources resources = newComponentResources(bean);
Location l = mockLocation();
replay();
Binding binding = factory.newBinding("test binding", resources, null, "stringHolderMethod().stringValue()", l);
assertSame(binding.getBindingType(), String.class);
bean.getStringHolder().setValue("first");
assertEquals(binding.get(), "first");
try
{
binding.set("read-only");
unreachable();
}
catch (TapestryException ex)
{
assertEquals(