}
public void testSuccess()
{
MockControl c = newControl(ObjectProvider.class);
ObjectProvider p = (ObjectProvider) c.getMock();
ObjectProviderContribution opc = new ObjectProviderContribution();
opc.setPrefix("fetch");
opc.setProvider(p);
ObjectTranslator ot = new ObjectTranslator();
ot.setContributions(Collections.singletonList(opc));
ot.initializeService();
Module module = (Module) newMock(Module.class);
p.provideObject(module, Integer.class, "zap", null);
Object value = new Integer(13);
c.setReturnValue(value);
replayControls();