public void test_create03() throws Exception {
  final List<String> incorrectNamespaces=Arrays.asList("","te.st");
  for (  String incorrectNamespace : incorrectNamespaces) {
    try {
      doTestCreate(incorrectNamespace);
      fail("Expecting: " + HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
    }
 catch (    HttpException ex) {
      assertEquals(HttpServletResponse.SC_INTERNAL_SERVER_ERROR,ex.getStatusCode());
    }
  }
}

public void test_create03 ( ) throws Exception { final List < String > incorrectNamespaces = Arrays . asList ( "" , "te.st" ) ; for ( String incorrectNamespace : incorrectNamespaces ) { try { doTestCreate ( incorrectNamespace ) ; fail ( "Expecting: " + HttpServletResponse . SC_INTERNAL_SERVER_ERROR ) ; } catch ( HttpException ex ) { assertEquals ( HttpServletResponse . SC_INTERNAL_SERVER_ERROR , ex . getStatusCode ( ) ) ; } } }
test verifies rejecting an incorrect string as a namespace name .
