{
ComponentInstantiatorSource source = mockComponentInstantiatorSource();
ComponentClassResolver resolver = mockComponentClassResolver();
MarkupWriter writer = new MarkupWriterImpl(xmlModel);
Location l = mockLocation();
RenderQueue queue = mockRenderQueue();
replay();
PageElementFactory factory = new PageElementFactoryImpl(source, resolver, null, null, null);
AttributeToken token = new AttributeToken(null, "name", "value", l);