1 package org.objectweb.celtix.bus.bindings.xml; 2 3 import junit.framework.TestCase; 4 import org.objectweb.celtix.Bus; 5 import org.objectweb.celtix.ws.addressing.EndpointReferenceType; 6 7 public class XMLServerBindingTest extends TestCase { 8 9 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, null); 20 assertNotNull(serverBinding.getBinding()); 21 } 22 } 23 | Popular Tags |