class GlobalAntExecutor {

    public String generateFullTemporaryDir(final String generatorBuilderPath, final String temporaryDir) throws APIRestGeneratorException
    {
        final String fullTemporaryDir = generatorBuilderPath + File.separator + ConstantsAnt.BASE_GEN_FOLDERS + temporaryDir ;
        FilesUtility.createFullDirectoryTree(fullTemporaryDir);

        return fullTemporaryDir;
    }

}

class GlobalAntExecutorTest {

	@Test
	public void generateFullTemporaryDirTest() throws APIRestGeneratorException
	{

		final GlobalAntExecutor globalAntExecutor = new GlobalAntExecutor(ConstantsTest.PARSER_TYPE, ConstantsTest.TRANSLATOR_TYPE) ;
		globalAntExecutor.generateFullTemporaryDir(ConstantsTest.GENERATOR_BUILDER_PATH, ConstantsTest.TEMPORARY_DIR) ;
	}

}