Class RouteDeleteIT
- java.lang.Object
-
- org.fcrepo.camel.httpforwarding.integration.RouteDeleteIT
-
@ContextConfiguration(classes=org.fcrepo.camel.httpforwarding.integration.RouteUpdateIT.ContextConfig.class, loader=org.springframework.test.context.support.AnnotationConfigContextLoader.class) public class RouteDeleteIT extends ObjectTest the route workflow.- Author:
- Aaron Coburn, Demian Katz
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.camel.component.mock.MockEndpointresultEndpointprotected org.apache.camel.ProducerTemplatetemplate
-
Constructor Summary
Constructors Constructor Description RouteDeleteIT()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidbeforeClass()voidsetUpMockServer()voidtearDownMockServer()voidtestDeletedResourceWithEventBody()
-
-
-
Field Detail
-
resultEndpoint
@EndpointInject("mock:result") protected org.apache.camel.component.mock.MockEndpoint resultEndpoint
-
template
@Produce("direct:start") protected org.apache.camel.ProducerTemplate template
-
-
Constructor Detail
-
RouteDeleteIT
public RouteDeleteIT()
-
-
Method Detail
-
beforeClass
public static void beforeClass()
-
tearDownMockServer
public void tearDownMockServer() throws Exception
- Throws:
Exception
-
setUpMockServer
public void setUpMockServer() throws Exception
- Throws:
Exception
-
testDeletedResourceWithEventBody
@DirtiesContext public void testDeletedResourceWithEventBody() throws Exception
- Throws:
Exception
-
-