public abstract class AuthenticationNamespaceHandlerTestCase extends FunctionalTestCase
{
@Test
public void testSecurityManagerConfigured()
{
MuleSecurityManager securityManager =
(MuleSecurityManager) muleContext.getRegistry().lookupObject(MuleProperties.OBJECT_SECURITY_MANAGER);
assertNotNull(securityManager);
Collection<SecurityProvider> providers = securityManager.getProviders();
assertEquals(2, providers.size());
Iterator<SecurityProvider> providersIterator = providers.iterator();
SecurityProvider provider = providersIterator.next();
assertEquals(SpringProviderAdapter.class, provider.getClass());