@Test
public void test() {

    Set<String> packages = PackageScanner.scan(new File("examples/struts2/src/main/java"));
    String[] pkgArray = packages.toArray(new String[1]);
    assertEquals(1, pkgArray.length);
}