Hello,
I am using the Apache Camel framework and tried to rewrite my unit tests into Jnarion Specs.
As all Camel tests need to extend the CamelTestSupport class i used the @Extend annotation but it is not working.
My example spec:
@Extends(CamelTestSupport)
describe ExampleSpecForCamel {
@EndpointInject(uri="mock:result")
MockEndpoint resultEndpoint
@Produce(uri="direct:start")
ProducerTemplate template
And the generated code:
@Named("ExampleSpecForCamel")
@RunWith(ExampleGroupRunner.class)
@Extends(CamelTestSupport.class)
@SuppressWarnings("all")
public class ExampleSpecForCamel {
@EndpointInject(uri = "mock:result")
MockEndpoint resultEndpoint;
@Produce(uri = "direct:start")
ProducerTemplate template;
}
What I expected would be this:
public class ExampleSpecForCamel extends CamelTestSupport