smgc.setSiteMapConfiguration(smc);
List<ModuleConfiguration> mcList = new ArrayList<ModuleConfiguration>();
mcList.add(smc);
ModuleConfigurationService mcs = EasyMock.createMock(ModuleConfigurationService.class);
EasyMock.expect(mcs.findActiveConfigurationsByType(ModuleConfigurationType.SITE_MAP)).andReturn(mcList);
EasyMock.replay(mcs);
List<SiteMapGenerator> smgList = new ArrayList<SiteMapGenerator>();
smgList.add(smg);