Package org.fcrepo.camel.ldpath
Class RouteWithFunctionsTest
- java.lang.Object
-
- org.fcrepo.camel.ldpath.RouteWithFunctionsTest
-
@ContextConfiguration(classes=org.fcrepo.camel.ldpath.RouteWithFunctionsTest.ContextConfig.class, loader=org.springframework.test.context.support.AnnotationConfigContextLoader.class) public class RouteWithFunctionsTest extends ObjectTest the route workflow with functions enabled.- Since:
- May 11, 2018
- Author:
- Peter Eichman
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.camel.CamelContextcamelContextprotected org.apache.camel.component.mock.MockEndpointhttpEndpointprotected org.apache.camel.component.mock.MockEndpointoptionsEndpointprotected org.apache.camel.ProducerTemplatetemplate
-
Constructor Summary
Constructors Constructor Description RouteWithFunctionsTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidafterClass()static voidbeforeClass()voidtestGetDefault()voidtestGetParam()voidtestMimicPost()voidtestMimicPostWithFunctions()voidtestOptions()
-
-
-
Field Detail
-
httpEndpoint
@EndpointInject("mock:http:localhost") protected org.apache.camel.component.mock.MockEndpoint httpEndpoint
-
optionsEndpoint
@EndpointInject("mock:language:simple:resource:classpath:org/fcrepo/camel/ldpath/options.ttl") protected org.apache.camel.component.mock.MockEndpoint optionsEndpoint
-
template
@Produce("direct:start") protected org.apache.camel.ProducerTemplate template
-
camelContext
@Autowired protected org.apache.camel.CamelContext camelContext
-
-
Constructor Detail
-
RouteWithFunctionsTest
public RouteWithFunctionsTest()
-
-
Method Detail
-
beforeClass
public static void beforeClass()
-
afterClass
public static void afterClass()
-
testGetDefault
public void testGetDefault() throws Exception
- Throws:
Exception
-
testOptions
public void testOptions() throws Exception
- Throws:
Exception
-
testGetParam
public void testGetParam() throws Exception
- Throws:
Exception
-
testMimicPost
public void testMimicPost() throws Exception
- Throws:
Exception
-
testMimicPostWithFunctions
public void testMimicPostWithFunctions() throws Exception
- Throws:
Exception
-
-