1   /*
2    * $Id: ClassInterceptorTestCase.java 10845 2008-02-18 13:42:40Z acooke $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
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  }