rule.setAttributeName("fred");
rule.setPropertyName("value");
MockControl control = newControl(SchemaProcessor.class);
SchemaProcessor mockProcessor = (SchemaProcessor) control.getMock();
mockProcessor.getAttributeDefault("fred");
control.setReturnValue("${flintstone}");
mockProcessor.getContributingModule();
MockControl moduleControl = newControl(Module.class);
Module mockModule = (Module) moduleControl.getMock();
control.setReturnValue(mockModule);
MockControl symbolExpanderControl = newControl(SymbolExpander.class);
SymbolExpander symbolExpander = (SymbolExpander) symbolExpanderControl.getMock();
mockProcessor.getSymbolExpander();
control.setReturnValue(symbolExpander);
mockProcessor.peek();
StringHolderImpl target = new StringHolderImpl();
control.setReturnValue(target);
mockProcessor.getAttributeTranslator("fred");
control.setReturnValue(new NullTranslator());
mockProcessor.getContributingModule();
control.setReturnValue(mockModule);
symbolExpander.expandSymbols("${flintstone}", element.getLocation());
symbolExpanderControl.setReturnValue("FLINTSTONE");