01: package org.objectweb.celtix.bus.bindings.xml;
02:
03: import junit.framework.TestCase;
04: import org.objectweb.celtix.Bus;
05: import org.objectweb.celtix.ws.addressing.EndpointReferenceType;
06:
07: public class XMLServerBindingTest extends TestCase {
08:
09: private Bus bus;
10: private EndpointReferenceType epr;
11:
12: public void setUp() throws Exception {
13: bus = Bus.init();
14: TestUtils testUtils = new TestUtils();
15: epr = testUtils.getWrappedReference();
16: }
17:
18: public void testCreateServerBinding() throws Exception {
19: XMLServerBinding serverBinding = new XMLServerBinding(bus, epr,
20: null);
21: assertNotNull(serverBinding.getBinding());
22: }
23: }
|