private static void getAllTestNgTests(List<String> urlsOrFiles) throws Exception {
        List<TestResultData> testNgResultData = parseTestNgResultFromFilesOrUrls(urlsOrFiles);
        List<String> testNgTests =
                (List<String>) CollectionUtils
                        .collect(testNgResultData, new BeanToPropertyValueTransformer("testName"));
        Collections.sort(testNgTests);

        File csvFile = new File("testNgDdTests.csv");
        BufferedWriter bw = null;
        try {
            bw = new BufferedWriter(new FileWriter(csvFile));

            for (String testNgTestName : testNgTests) {
                if (testNgTestName.contains("-")) {
                    bw.write("com.vmware.qe.vcloud.tests.server."+testNgTestName);
                    bw.write("\n");
                }
            }
        } catch (Exception e) {
            throw e;
        } finally {
            try {
                bw.close();
            } catch (Exception e) {
                e.printStackTrace();
            }
        }

    }