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



##########
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:
       Better to split in 2 test cases I think




----------------------------------------------------------------
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