public static BadRequestException namespaceAlreadyExists(String namespaceName) {
    return new BadRequestException("namespace already exists for namespaceName:%s", namespaceName);
  }
@Test
  public void testNamespaceAlreadyExists() {
    BadRequestException namespaceAlreadyExists = BadRequestException.namespaceAlreadyExists(namespaceName);
    assertEquals("namespace already exists for namespaceName:application", namespaceAlreadyExists.getMessage());
  }