@Test
public void testFindAllDevs() throws Exception {

  List<PcapNetworkInterface> devs = Pcaps.findAllDevs();
  assertNotNull(devs);
  assertTrue(devs.size() != 0 || !System.getProperty("user.name").equals("root"));
  for (PcapNetworkInterface dev: devs) {
    logger.info(dev.toString());
  }
}