MockControl control2 = newControl(Module.class);
Module m2 = (Module) control2.getMock();
MockControl registryControl = newControl(RegistryInfrastructure.class);
RegistryInfrastructure registry = (RegistryInfrastructure) registryControl.getMock();
MockControl symbolExpanderControl = newControl(SymbolExpander.class);
SymbolExpander symbolExpander = (SymbolExpander) symbolExpanderControl.getMock();
SchemaProcessorImpl p = new SchemaProcessorImpl(null, schema);
Location location1 = newLocation();
ElementImpl element1 = new ElementImpl();
element1.setElementName("cartoon");
element1.addAttribute(new AttributeImpl("name", "flintstone"));
element1.setLocation(location1);
List elements1 = Collections.singletonList(element1);
Location location2 = newLocation();
ElementImpl element2 = new ElementImpl();
element2.setElementName("cartoon");
element2.addAttribute(new AttributeImpl("name", "flintstone"));
element2.setLocation(location2);
List elements2 = Collections.singletonList(element2);
MockControl tControl1 = newControl(Translator.class);
Translator t1 = (Translator) tControl1.getMock();
MockControl tmControl = newControl(TranslatorManager.class);
TranslatorManager tm = (TranslatorManager) tmControl.getMock();
m1.getRegistry();
control1.setReturnValue(registry);
registry.getModule("module");
registryControl.setReturnValue(m1);
m2.getRegistry();
control2.setReturnValue(registry);
registry.getModule("module");
registryControl.setReturnValue(m2);
m1.resolveType("StringHolderImpl");
control1.setReturnValue(StringHolderImpl.class);