@Test
public void runFileScanner() throws InterruptedException
{

   ScannerFactory sf = new ScannerFactory ();
   Scanner scanner = sf.getScanner (tmpDir.getPath());
   
   scanner.setSupportedClasses(classes);
   scanner.getScanList().simulate(false);
   
   scanner.scan();
   
   Assert.assertTrue (scanner.getScanList().size()>0, "No item found.");
   
   // Expected result is 2: only S1[AB]_ pattern signature is supported.
   Assert.assertEquals (scanner.getScanList().size(), 2,
      "Wrong number of items found.");
}