alanmehio commented on a change in pull request #755:
URL: https://github.com/apache/cxf/pull/755#discussion_r591779149



##########
File path: core/src/test/java/org/apache/cxf/helpers/ServiceUtilsTest.java
##########
@@ -173,4 +171,23 @@ private void setupSchemaValidationValue(Object value, 
boolean isRequestor) {
 
         control.replay();
     }
-}
\ No newline at end of file
+
+    @Test
+    public void testMakeNamespaceFromClassName() {
+        String nameSpace = ServiceUtils.makeNamespaceFromClassName("Foo", 
"http");
+        assertEquals("http://DefaultNamespace";, nameSpace);
+
+        nameSpace = 
ServiceUtils.makeNamespaceFromClassName(this.getClass().getName(), "http");

Review comment:
       @reta  Good idea since we have two different cases.  Done




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to