### Question:
DataDefinitionUtil { public static String assertValidName(String name) { if (name == null || !isValidName(name)) { throw new IllegalArgumentException("Invalid SQL object name: " + name); } return name; }  static String createUniqueIndex(String schemaName, String tableName, String indexName, List<String> indexColumns,
            List<String> includeColumns, boolean isUseSchemaPrefix); static String createUniqueIndex(String schemaName, String tableName, String indexName, List<String> indexColumns, boolean isUseSchemaPrefix); static String createIndex(String schemaName, String tableName, String indexName, List<String> indexColumns, boolean isUseSchemaPrefix); static String join(Collection<String> things); static String join(String... things); static boolean isValidName(String name); static String assertValidName(String name); static void assertValidNames(String... names); static void assertSecure(String value); static String getQualifiedName(String schemaName, String objectName); static String columnSpecList(IDatabaseTypeAdapter adapter, Collection<ColumnBase> columns);  }### Answer:
@Test public void testValid() { DataDefinitionUtil.assertValidName("ADMIN"); DataDefinitionUtil.assertValidName("SET_TENANT"); DataDefinitionUtil.assertValidName("SET123"); DataDefinitionUtil.assertValidName("SET_123"); DataDefinitionUtil.assertValidName("Admin"); DataDefinitionUtil.assertValidName("admin123"); DataDefinitionUtil.assertValidName("admin123user"); DataDefinitionUtil.assertValidName("admin123User"); DataDefinitionUtil.assertValidName("adminUser"); DataDefinitionUtil.assertValidName("admin_user"); DataDefinitionUtil.assertValidName("admin_User"); DataDefinitionUtil.assertValidName("admin_123"); DataDefinitionUtil.assertValidName("admin_User123"); DataDefinitionUtil.assertValidName("admin_User_123"); DataDefinitionUtil.assertValidName("admin_User_abc"); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testInvalidNumber() { DataDefinitionUtil.assertValidName("123"); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testInvalidNumberString() { DataDefinitionUtil.assertValidName("123str"); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testInvalidQuote() { DataDefinitionUtil.assertValidName("ADMIN'"); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testInvalidQuote2() { DataDefinitionUtil.assertValidName("'"); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testInvalidSemi() { DataDefinitionUtil.assertValidName("NAME;"); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testInvalidComment() { DataDefinitionUtil.assertValidName("NAME--"); }