1   package org.codehaus.xfire.java;
2   
3   import org.codehaus.xfire.plexus.PlexusXFireTest;
4   import org.codehaus.xfire.service.Service;
5   
6   /***
7    * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
8    * @since Sep 20, 2004
9    */
10  public class JavaConfiguratorTest 
11      extends PlexusXFireTest
12  {
13      public void setUp()
14          throws Exception
15      {
16          System.setProperty("xfire.config", "/org/codehaus/xfire/java/services.xml");
17          super.setUp();
18      }
19      
20      public void testRegister()
21          throws Exception
22      {
23          Service s = getServiceRegistry().getService("Echo");
24          
25          assertNotNull( s ); 
26          assertNotNull( s.getServiceHandler() );
27          assertNotNull( s.getFaultHandler() );
28      }
29  }