@SuppressWarnings("unchecked")
@Test
public void ordered_collection_with_service_lookup()
{
OrderedConfiguration configuration = mockOrderedConfiguration();
ObjectLocator locator = mockObjectLocator();
UpcaseService service = mockUpcaseService();
train_getService(locator, "zip.Zap", UpcaseService.class, service);
configuration.add("fred", service);
replay();
Method m = findMethod("contributeOrderedParameter");
ContributionDef def = new ContributionDefImpl("foo.Bar", m, null);