View Javadoc

1   /*
2    * $Id: HttpPlaceholderTestCase.java 22431 2011-07-18 07:40:35Z dirk.olmes $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.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.transport.http;
12  
13  import org.junit.Test;
14  
15  public class HttpPlaceholderTestCase extends AbstractNamespaceHandlerTestCase
16  {
17  
18      public HttpPlaceholderTestCase()
19      {
20          super("http");
21      }
22  
23      @Override
24      protected String getConfigResources()
25      {
26          return "http-placeholder-test.xml";
27      }
28  
29      @Test
30      public void testConnectorProperties()
31      {
32          HttpConnector connector =
33                  (HttpConnector) muleContext.getRegistry().lookupConnector("httpConnector");
34          testBasicProperties(connector);
35      }
36  
37  }