01: package org.objectweb.celtix.bus.ws.addressing;
02:
03: import junit.framework.TestCase;
04:
05: import org.objectweb.celtix.ws.addressing.AddressingConstants;
06: import org.objectweb.celtix.ws.addressing.AddressingProperties;
07:
08: public class AddressingBuilderImplTest extends TestCase {
09: private AddressingBuilderImpl builder;
10:
11: public void setUp() {
12: builder = new AddressingBuilderImpl();
13: }
14:
15: public void testGetAddressingProperties() throws Exception {
16: AddressingProperties properties = builder
17: .newAddressingProperties();
18: assertNotNull("expected AddressingProperties ", properties);
19: assertNotSame("unexpected same properties", builder
20: .newAddressingProperties(), properties);
21: }
22:
23: public void testGetAddressingConstants() throws Exception {
24: AddressingConstants constants = builder
25: .newAddressingConstants();
26: assertNotNull("expected AddressingConstants ", constants);
27: assertNotSame("unexpected same constants", builder
28: .newAddressingConstants(), constants);
29: }
30: }
|