Package org.apache.camel.test.junit4
Class CamelTearDownRule
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- org.apache.camel.test.junit4.CamelTearDownRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class CamelTearDownRule extends org.junit.rules.ExternalResourceA JUnit rule to tear down Camel when using createCamelContextPerClass=true.
-
-
Constructor Summary
Constructors Constructor Description CamelTearDownRule(ThreadLocal<CamelTestSupport> testSupport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafter()protected voidbefore()
-
-
-
Constructor Detail
-
CamelTearDownRule
public CamelTearDownRule(ThreadLocal<CamelTestSupport> testSupport)
-
-