### Question:
AbiTypesGenerator extends Generator { public static void main(String[] args) throws Exception { AbiTypesGenerator abiTypesGenerator = new AbiTypesGenerator(); if (args.length == 1) { abiTypesGenerator.generate(args[0]); } else { abiTypesGenerator.generate(System.getProperty("user.dir") + "/abi/src/main/java/"); } }  static void main(String[] args);  }### Answer:
@Test public void testGeneration() throws Exception { AbiTypesGenerator.main(new String[] { tempDirPath }); }
@Test public void testGeneration() throws Exception { AbiTypesGenerator.main(new String[] {tempDirPath}); }