source: class PcapHandleTest {
  
    private PcapHandle ph;
  
    @Test
    public void testListDatalinks() throws Exception {
  
target:     List<DataLinkType> list = ph.listDatalinks();
      assertNotNull(list);
      assertEquals(1, list.size());
      assertEquals(DataLinkType.EN10MB, list.get(0));
    }
  
  }