Package org.fcrepo.camel.ldpath
Class RouteTest
- java.lang.Object
-
- org.fcrepo.camel.ldpath.RouteTest
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.camel.component.mock.MockEndpointhttpEndpointprotected org.apache.camel.component.mock.MockEndpointoptionsEndpointprotected org.apache.camel.ProducerTemplatetemplate
-
Constructor Summary
Constructors Constructor Description RouteTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidafterClass()static voidbeforeClass()voidtestGetDefault()voidtestGetParam()voidtestMimicPost()voidtestOptions()
-
-
-
Field Detail
-
optionsEndpoint
@EndpointInject("mock:language:simple:resource:classpath:org/fcrepo/camel/ldpath/options.ttl") protected org.apache.camel.component.mock.MockEndpoint optionsEndpoint
-
httpEndpoint
@EndpointInject("mock:http:localhost") protected org.apache.camel.component.mock.MockEndpoint httpEndpoint
-
template
@Produce("direct:start") protected org.apache.camel.ProducerTemplate template
-
-
Constructor Detail
-
RouteTest
public RouteTest()
-
-
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
-
-