1
2
3
4
5
6
7
8
9
10
11 package org.mule.transport.http.construct.builder;
12
13 import org.mule.api.MuleException;
14 import org.mule.tck.AbstractMuleTestCase;
15 import org.mule.transport.http.construct.HttpProxy;
16
17 public class HttpProxyBuilderTestCase extends AbstractMuleTestCase
18 {
19 public void testConfigurationNoCache() throws MuleException
20 {
21 final HttpProxy httpProxy = new HttpProxyBuilder().name("test-http-proxy-no-cache")
22 .inboundAddress("test://foo")
23 .outboundAddress("test://bar")
24 .build(muleContext);
25
26 assertEquals("test-http-proxy-no-cache", httpProxy.getName());
27 }
28
29
30 }