@Test public void testStartFlexCPD() throws JSAPException, PMDException, URISyntaxException, IOException, ReportException { final String[] args = new String[] { "-s", getTestDirectory().getAbsolutePath(), "-o", new File("target/cpd.xml").getAbsolutePath(), "--excludePackage", "cairngorm." }; FlexCPD.startFlexCPD(args); }