/**
* Access the ServiceManagerService
*/
public void testServiceManagerService() throws Exception
{
ServiceManagerService serviceManagerService = ServiceManagerServiceImpl.getInstance();
assertNotNull(serviceManagerService);
assertNotNull( serviceManagerService.getAvalonLogger() );
assertNotNull( serviceManagerService.getContext().get("urn:avalon:home") );
assertNotNull( serviceManagerService.getContext().get("urn:avalon:temp") );
// get the parameters
serviceManagerService.getParameters();
// lookup the service
serviceManagerService = (ServiceManagerService) serviceManagerService.lookup( ServiceManagerService.class.getName() );
assertTrue( serviceManagerService.hasService( ServiceManagerService.class.getName() ) );
assertTrue( serviceManagerService.getServiceManager() instanceof ServiceManager );
serviceManagerService.release(serviceManagerService);
}