1
2
3
4
5
6
7 package org.mule.transport.jnp;
8
9 import org.mule.api.transport.Connector;
10 import org.mule.transport.AbstractConnectorTestCase;
11 import org.mule.transport.jnp.JnpConnector;
12
13 public class JnpConnectorTestCase extends AbstractConnectorTestCase
14 {
15
16 @Override
17 public Connector createConnector() throws Exception
18 {
19 JnpConnector c = new JnpConnector(muleContext);
20 c.setName("JnpConnector");
21 c.setSecurityManager(null);
22 return c;
23 }
24
25 public String getTestEndpointURI()
26 {
27 return "jnp://localhost:1099";
28 }
29
30 public Object getValidMessage() throws Exception
31 {
32 return "Hello".getBytes();
33 }
34
35 }