camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dayakar <>
Subject CamelSpringTestSupport with PowerMock
Date Wed, 10 Jul 2013 10:20:44 GMT

Iam using CamelSpringTestSupport class to write my JUnit.

But in one scenario i want to use PowerMock too.

If i use PowerMock with CamelTestSupport its giving following error

java.lang.IllegalStateException: Failed to transform class with name
org.apache.camel.test.junit4.CamelTestSupport. Reason: [source error] cannot
find constructor

Below is my SampleCode:

@PrepareForTest({SecurityUtil.class }) 
public class TestCEM extends CamelTestSupport {

	public void testeventProcessorFailureDetails(){


Could anyone can help in this

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message