diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-impl/src/test')
-rw-r--r-- | sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/impl/NodeImplTestCase.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/impl/NodeImplTestCase.java b/sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/impl/NodeImplTestCase.java index f869744b90..fc7547f830 100644 --- a/sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/impl/NodeImplTestCase.java +++ b/sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/impl/NodeImplTestCase.java @@ -116,6 +116,8 @@ public class NodeImplTestCase { node.start(); HelloWorld hw = node.getService(HelloWorld.class, "HelloWorld"); Assert.assertEquals("Hello, Node", hw.hello("Node")); + hw = node.getService(HelloWorld.class, null); + Assert.assertEquals("Hello, Node", hw.hello("Node")); String address = node.getEndpointAddress("HelloWorld"); Assert.assertNotNull(address); address = node.getEndpointAddress("HelloWorld/HelloWorld"); @@ -123,7 +125,7 @@ public class NodeImplTestCase { address = node.getEndpointAddress("HelloWorld/HelloWorld/HelloWorld"); Assert.assertNotNull(address); address = node.getEndpointAddress("HelloWorld/HelloWorld1"); - Assert.assertNull(address); + Assert.assertNull(address); node.stop(); } |