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");
replayControls();
rule.begin(mockProcessor, element);
rule.end(mockProcessor, element);
verifyControls();
assertEquals("FLINTSTONE", target.getValue());
}