}
@Test
public void testDefaultThreadingProfileConfiguration() throws MuleException
{
TestConnector connector = new TestConnector(muleContext);
muleContext.getRegistry().registerConnector(connector);
assertEquals(ThreadingProfile.DEFAULT_MAX_THREADS_ACTIVE, connector.getDispatcherThreadingProfile()
.getMaxThreadsActive());
assertEquals(ThreadingProfile.DEFAULT_MAX_THREADS_IDLE, connector.getDispatcherThreadingProfile()
.getMaxThreadsIdle());
assertEquals(ThreadingProfile.WHEN_EXHAUSTED_RUN, connector.getDispatcherThreadingProfile()
.getPoolExhaustedAction());
assertEquals(ThreadingProfile.DEFAULT_MAX_BUFFER_SIZE, connector.getDispatcherThreadingProfile()
.getMaxBufferSize());
assertEquals(ThreadingProfile.DEFAULT_MAX_THREAD_TTL, connector.getDispatcherThreadingProfile()
.getThreadTTL());
assertEquals(ThreadingProfile.DEFAULT_THREAD_WAIT_TIMEOUT, connector.getDispatcherThreadingProfile()
.getThreadWaitTimeout());
}