1
2
3
4
5
6
7
8
9
10
11 package org.mule.config.spring;
12
13 import org.mule.module.client.MuleClient;
14 import org.mule.api.MuleException;
15
16
17
18
19 public class ComponentInterceptorTestCase extends AbstractInterceptorTestCase
20 {
21
22 protected String getConfigResources()
23 {
24 return "org/mule/config/spring/component-interceptor-test.xml";
25 }
26
27 public void testInterceptor() throws MuleException, InterruptedException
28 {
29 MuleClient client = new MuleClient();
30 client.send("vm://in", MESSAGE, null);
31 assertMessageIntercepted();
32 }
33
34 }