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