}
public void test_IAsset_Param_Render()
{
IScriptSource source = newScriptSource();
IScript script = newScript();
PageRenderSupport support = newPageRenderSupport();
IRequestCycle cycle = newCycle(false, null);
trainGetPageRenderSupport(cycle, support);
IMarkupWriter writer = newWriter();
Resource scriptLocation = newResource();
IRender body = newRender();
IComponent container = newComponent();
IAsset scriptAsset = newAsset();
expect(scriptAsset.getResourceLocation()).andReturn(scriptLocation);
Script component = newInstance(Script.class, new Object[]
{ "specification", new ComponentSpecification(), "container", container, "scriptSource",
source, "scriptAsset", scriptAsset });
trainGetScript(source, scriptLocation, script);
script.execute(component, cycle, support, new HashMap());
trainResponseBuilder(cycle, writer);
body.render(writer, cycle);