BindingSource bindingSource = mockBindingSource();
ComponentMessagesSource messagesSource = newMock(ComponentMessagesSource.class);
ComponentResources resources = mockComponentResources();
Location location = mockLocation();
AttributeToken token = new AttributeToken(null, "fred", "${flintstone", location);
replay();
PageElementFactory factory = new PageElementFactoryImpl(source, resolver, typeCoercer, bindingSource, null);