### Question:
DBToolsInit { public void initDBTools(String schemaDir) { DBToolsFiles.copyXsdFileToSchemaDir(schemaDir); DBToolsFiles.copySampleSchemaFileToSchemaDir(schemaDir); }  void initDBTools(String schemaDir);  }### Answer:
@Test public void testInitDBTools() throws Exception { String userDir = System.getProperty("user.dir"); String databaseSchemaDir = userDir + "/build/test-src/src/main/database"; DBToolsInit init = new DBToolsInit(); init.initDBTools(databaseSchemaDir); assertTrue("schema.xml exists", new File(databaseSchemaDir, "schema.xml").exists()); assertTrue("dbschema.xsd exists", new File(databaseSchemaDir, "dbschema.xsd").exists()); }