public class MuleAbstractTransportMessageHandlerTestCase extends Object
AbstractTransportMessageHandler
but its name starts with "Mule"
because there is an exclusion rule in parent pom for test classes that have their
names starting with "Abstract".Constructor and Description |
---|
MuleAbstractTransportMessageHandlerTestCase() |
Modifier and Type | Method and Description |
---|---|
void |
testStartIsThreadSafe()
This test tests that start method is thread safe and that
AbstractTransportMessageHandler.doStart() is always called making sure that the
connectable is connected . |
void |
testStartRethrowsMuleExceptionCorrectly() |
public MuleAbstractTransportMessageHandlerTestCase()
public void testStartRethrowsMuleExceptionCorrectly() throws Exception
Exception
public void testStartIsThreadSafe() throws Throwable
AbstractTransportMessageHandler.doStart()
is always called making sure that the
connectable is connected
.
To make multithreaded test easier it uses a library called MultithreadedTC. You will perhaps go and read that link if you want to understand how this test works.
Throwable
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.