I changed my import of org.apache.camel.test.CamelTestSupport to org.apache.camel.test.junit4.CamelTestSupport, and now it generates a different error within surefire.
Tests in error: SimpleTest>TestSupport.<clinit>:55 » NoClassDefFound org/s... SimpleTest.com.ihg.atp.ess.processor.SimpleTest » NoClassDefFound Here is the full unit test class currently. import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.test.junit4.CamelTestSupport; import org.junit.Test; public class SimpleTest extends CamelTestSupport { @Override protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() { from("direct:test").process(new TestProcessor()).to("mock:test"); } }; } @Test public void simpleTest() throws Exception { MockEndpoint resultEndpoint = getMockEndpoint("mock:test"); resultEndpoint.expectedMessageCount(1); resultEndpoint.message(0).header("myHeader").isEqualTo("Yay"); template.sendBody("direct:test", "Test"); resultEndpoint.assertIsSatisfied(); } -- View this message in context: http://camel.465427.n5.nabble.com/Unit-Testing-Question-tp5745966p5746462.html Sent from the Camel - Users mailing list archive at Nabble.com.