Attribute attribute = new AttributeImpl("fred", "flintstone");
element.addAttribute(attribute);
PushAttributeRule rule = new PushAttributeRule();
rule.setAttributeName("fred");
SchemaProcessor mockProcessor = (SchemaProcessor) control.getMock();
mockProcessor.getAttributeTranslator("fred");
control.setReturnValue(new NullTranslator());
mockProcessor.getContributingModule();
control.setReturnValue(newMock(Module.class));
mockProcessor.push("flintstone");
mockProcessor.pop();
control.setReturnValue("flintstone");
replayControls();
rule.begin(mockProcessor, element);
rule.end(mockProcessor, element);
verifyControls();
}