assertEquals(ids.size(), 3);
assertTrue(ids.contains("Fred"));
assertTrue(ids.contains("Barney"));
assertTrue(ids.contains("Wilma"));
ServiceDef sd = md.getServiceDef("Fred");
assertEquals(sd.getServiceId(), "Fred");
assertEquals(sd.getServiceInterface(), FieService.class);
assertTrue(sd.toString().contains(className + ".buildFred()"));
assertEquals(sd.getServiceScope(), IOCConstants.DEFAULT_SCOPE);
assertEquals(sd.isEagerLoad(), false);
sd = md.getServiceDef("Wilma");
assertEquals(sd.isEagerLoad(), true);
// Now the decorator method.
Set<DecoratorDef> defs = md.getDecoratorDefs();