Pcap4jPropertiesLoader { public Integer getAfLink() { return loader.getInteger(AF_LINK_KEY, AF_LINK_DEFAULT); } private  Pcap4jPropertiesLoader(); static Pcap4jPropertiesLoader getInstance(); Integer getAfInet(); Integer getAfInet6(); Integer getAfPacket(); Integer getAfLink(); Integer getDltRaw(); static final String PCAP4J_PROPERTIES_PATH_KEY; static final String AF_INET_KEY; static final String AF_INET6_KEY; static final String AF_PACKET_KEY; static final String AF_LINK_KEY; static final String DLT_RAW_KEY; }
@Test public void testHasDefaultAfLink() { assertNotNull(propertiesLoader.getAfLink()); assertEquals(18, (int) propertiesLoader.getAfLink()); }