1 package org.objectweb.celtix.bus.ws.addressing; 2 3 4 import junit.framework.TestCase; 5 6 import org.objectweb.celtix.ws.addressing.AddressingConstants; 7 import org.objectweb.celtix.ws.addressing.AddressingProperties; 8 9 10 public class AddressingBuilderImplTest extends TestCase { 11 private AddressingBuilderImpl builder; 12 13 public void setUp() { 14 builder = new AddressingBuilderImpl(); 15 } 16 17 public void testGetAddressingProperties() throws Exception { 18 AddressingProperties properties = builder.newAddressingProperties(); 19 assertNotNull("expected AddressingProperties ", properties); 20 assertNotSame("unexpected same properties", 21 builder.newAddressingProperties(), 22 properties); 23 } 24 25 public void testGetAddressingConstants() throws Exception { 26 AddressingConstants constants = builder.newAddressingConstants(); 27 assertNotNull("expected AddressingConstants ", constants); 28 assertNotSame("unexpected same constants", 29 builder.newAddressingConstants(), 30 constants); 31 } 32 } 33 | Popular Tags |