}
public void testStandardNotDisabled()
{
IMarkupWriter writer = newWriter();
NestedMarkupWriter nested = newNestedWriter();
IRequestCycle cycle = newCycle();
ILinkComponent component = newComponent();
Location l = newLocation();
ILink link = newLink();
trainGetAttribute(cycle, Tapestry.LINK_COMPONENT_ATTRIBUTE_NAME, null);
cycle.setAttribute(Tapestry.LINK_COMPONENT_ATTRIBUTE_NAME, component);
trainIsDisabled(component, false);
writer.begin("a");
trainGetLink(component, cycle, link);
trainGetScheme(component, null);
trainGetAnchor(component, null);
trainGetURL(link, null, null, "/foo/bar.baz");
writer.attribute("href", "/foo/bar.baz");
trainGetTarget(component, null);
trainGetNestedWriter(writer, nested);
component.renderBody(nested, cycle);
component.renderAdditionalAttributes(writer, cycle);
nested.close();
writer.end();
cycle.removeAttribute(Tapestry.LINK_COMPONENT_ATTRIBUTE_NAME);