Pcap4jPropertiesLoader { public Integer getAfInet() { return loader.getInteger(AF_INET_KEY, AF_INET_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 testHasDefaultAfInet() { assertNotNull(propertiesLoader.getAfInet()); assertEquals(2, (int) propertiesLoader.getAfInet()); }