package file;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * Created by zhaoxu on 2017/7/7.
 */
public class Test {

    @org.testng.annotations.Test
    public void testFileUtil(){
        FileFactory fileFactory = new FileFactory();
        //tool's entry
        fileFactory.transformFile("test.xls","test4.xlsxv");
    }
}


package file;


import org.testng.annotations.Test;

/**
 * Created by zhaoxu on 2017/7/7.
 */
public class Test1 {

    @Test
    public void testFileUtil(){
        FileFactory fileFactory = new FileFactory();
        //tool's entry
        fileFactory.transformFile("test.xls","test222.json");
    }
}


Update Test.java