ComponentResources resources = mockComponentResources();
Component component = mockComponent();
Component pageComponent = mockComponent();
ComponentPageElement element = mockComponentPageElement();
ComponentEventResultProcessor master = mockComponentEventResultProcessor();
train_getComponentResources(component, resources);
train_getPage(resources, pageComponent);
train_getPageName(resources, pageName);
train_get(cache, pageName, page);
train_getNestedId(resources, nestedId);
train_getComponentElementByNestedId(page, nestedId, element);
master.processResultValue(element);
replay();
ComponentEventResultProcessor<Component> processor = new AjaxComponentInstanceEventResultProcessor(
cache, master);