Producer { public void produceProject(String config) throws Exception { codes = Config.yamlInit(config); String projectPath = codes.getProject().getBaseDir() + File.separator + codes.getProject().getName(); String createProjectResponse = GradleUtil.executeGradleCmd(projectPath, "init"); System.out.println(createProjectResponse); configGradle(); copyConfig(); }  void produceProject(String config); void produceProject(); void produceCodes(); void produceCodes(String config); void deleteOutput();  }
@Test public void productProject() throws IOException, InterruptedException { Producer producer = new Producer(); producer.produceProject(); }