@Before public void before() throws Exception { inputPath = Files.createTempFile("proc-net-udp", "txt"); ResourceUtil.writeDataFile("proc_net_udp_sample.txt", inputPath); monitor = new UdpSocketMonitor(lifecycleListener, inputPath); }
@Before public void before() throws Exception { inputPath = Files.createTempFile("proc-net-udp", "txt"); ResourceUtil.writeDataFile("proc_net_udp_sample.txt", inputPath); monitor = new UdpSocketMonitor(lifecycleListener, inputPath); }