{
ComponentTemplateSource templateSource = mockComponentTemplateSource();
PageElementFactory elementFactory = mockPageElementFactory();
BindingSource bindingSource = mockBindingSource();
ComponentPageElement rootElement = mockComponentPageElement();
InternalComponentResources resources = mockInternalComponentResources();
ComponentModel model = mockComponentModel();
ComponentModel childModel = mockComponentModel();
ComponentTemplate template = mockComponentTemplate();
Log log = mockLog();
EmbeddedComponentModel emodel = mockEmbeddedComponentModel();
ComponentPageElement childElement = mockComponentPageElement();
InternalComponentResources childResources = mockInternalComponentResources();
Location l = mockLocation();
PageElement body = mockPageElement();
ComponentTemplate childTemplate = mockComponentTemplate();
train_newRootComponentElement(elementFactory, PAGE_CLASS_NAME, rootElement);