BindingFactory factory = newFactory();
Location l = newLocation();
// Training
expect(factory.createBinding(component, "zip", "unknown:path part of locator", l)).andReturn(binding);
BindingPrefixContribution c = new BindingPrefixContribution();
c.setPrefix(BindingConstants.LITERAL_PREFIX);
c.setFactory(factory);