*
* @throws Exception loading failed
*/
public void testLoadingByAvalonComponentService() throws Exception
{
AvalonComponentService avalonComponentService =
(AvalonComponentService) TurbineServices.getInstance().getService(
AvalonComponentService.SERVICE_NAME);
assertNotNull(avalonComponentService);
GlobalCacheService dgcs = (GlobalCacheService)avalonComponentService.lookup(GlobalCacheService.ROLE);
assertNotNull(dgcs);
CryptoService cs = (CryptoService)avalonComponentService.lookup(CryptoService.ROLE);
assertNotNull(cs);
LocalizationService ls = (LocalizationService)avalonComponentService.lookup(LocalizationService.ROLE);
assertNotNull(ls);
IntakeService intake = (IntakeService)avalonComponentService.lookup(IntakeService.ROLE);
assertNotNull(intake);
FactoryService fs = (FactoryService)avalonComponentService.lookup(FactoryService.ROLE);
assertNotNull(fs);
MimeTypeService mimetype = (MimeTypeService)avalonComponentService.lookup(MimeTypeService.ROLE);
assertNotNull(mimetype);
}