### Question:
Pcaps { public static String dataLinkValToDescription( int dataLinkVal ) throws PcapNativeException { String descr = NativeMappings.pcap_datalink_val_to_description(dataLinkVal); if (descr == null) { throw new PcapNativeException( "Failed to convert the data link value to the description: " + dataLinkVal ); } return descr; } private  Pcaps(); static List<PcapNetworkInterface> findAllDevs(); static PcapNetworkInterface getDevByAddress(
    InetAddress addr
  ); static PcapNetworkInterface getDevByName(
    String name
  ); static String lookupDev(); static Inet4NetworkAddress lookupNet(
    String devName
  ); static PcapHandle openOffline(
    String filePath
  ); static PcapHandle openOffline(
    String filePath, TimestampPrecision precision
  ); static PcapHandle openDead(
    DataLinkType dlt, int snaplen
  ); static PcapHandle openDead(
    DataLinkType dlt, int snaplen, TimestampPrecision precision
  ); static BpfProgram compileFilter(
    int snaplen, DataLinkType dlt, String bpfExpression,
    BpfCompileMode mode, Inet4Address netmask
  ); static DataLinkType dataLinkNameToVal(
    String name
  ); static String dataLinkTypeToName(
    DataLinkType dlt
  ); static String dataLinkValToName(
    int dataLinkVal
  ); static String dataLinkTypeToDescription(
    DataLinkType dlt
  ); static String dataLinkValToDescription(
    int dataLinkVal
  ); static String strError(int error); static String libVersion(); static String toBpfString(InetAddress inetAddr); static String toBpfString(MacAddress macAddr);  }### Answer:
@Test public void testDataLinkValToDescription() throws Exception { String descr = Pcaps.dataLinkValToDescription(DataLinkType.PPP.value()); logger.info(DataLinkType.PPP + " descr: " + descr); assertNotNull(descr); assertFalse(descr.length() == 0); }