IRequestCycle cycle = newCycle();
IMarkupWriter writer = createWriter();
AssetFactory assetFactory = newMock(AssetFactory.class);
Resource script1 = newResource();
IAsset asset1 = newAsset("/script1.js");
Resource script2 = newResource();
IAsset asset2 = newAsset("/script2.js");
expect(assetFactory.createAsset(script1, null)).andReturn(asset1);
expect(assetFactory.createAsset(script2, null)).andReturn(asset2);
replay();
PageRenderSupportImpl prs = new PageRenderSupportImpl(assetFactory, "", null, newBuilder(writer));