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 public class ClassInterceptorTestCase extends AbstractInterceptorTestCase
17 {
18
19 protected String getConfigResources()
20 {
21 return "org/mule/config/spring/class-interceptor-test.xml";
22 }
23
24 public void testInterceptor() throws MuleException, InterruptedException
25 {
26 MuleClient client = new MuleClient();
27 client.send("vm://in", MESSAGE, null);
28 assertMessageIntercepted();
29 }
30
31 }