@RunWith(Parameterized.class)publicclassIntegrationTest{publicIntegrationTest(Stringname){this.name=name;}@Parameterized.Parameters(name="{index}: {0}")publicstaticCollection<String[]>data(){List<String[]>testData=newArrayList<String[]>();ClassLoaderloader=IntegrationTest.class.getClassLoader();Stringreqpath=loader.getResource("req").getPath();String[]files=newFile(reqpath).list(newFilenameFilter(){@Overridepublicbooleanaccept(Filedir,Stringname){returnname.endsWith("_req.xml");}});for(Stringfile:files){intldx=file.lastIndexOf("_req.xml");testData.add(newString[]{file.substring(0,ldx)});}returntestData;}@TestpublicvoidclientTest(){//TODO with this.name}}